#3003E2

A color in the Violet family

#3003e2 is a color in the Violet family: RGB(48, 3, 226), HSL(252°, 97%, 45%), CMYK(79%, 99%, 0%, 11%). Closest named color: mediumblue. Contrast is 9.39:1 on white and 2.24:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#3003e2
RGBrgb(48 3 226)
RGB (legacy)rgb(48, 3, 226)
RGB %rgb(19% 1% 89%)
HSLhsl(252 97% 45%)
HSV / HSBhsv(252, 99%, 89%)
HWBhwb(252 1% 11%)
CMYKcmyk(79%, 99%, 0%, 11%)
CIELAB (D50)lab(27.66 62.84 -98.75)
LCHlch(27.66 117.04 302.47)
OKLaboklab(0.429 0.0081 -0.2755)
OKLCHoklch(0.429 0.2756 271.68)
Decimal3146722

Properties

Color ToneViolet
Closest named colormediumblue ΔE 5.9
Closest web-safe color#3300cc
Hue252°
Saturation (HSL / HSV)97% / 99%
Lightness (HSL)45%
Brightness or Value (HSV)89%
Luminance (Rec.601 / Rec.709)16% / 11%
Relative luminance (WCAG)0.0618
Red / Green / Blue48 / 3 / 226

WCAG 2.2 Contrast Ratio

On White (#ffffff)
9.39:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
2.24:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 88.8 / -13.4 · As background with white / black text: Lc -93.4 / 15.2

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #3003e2;
  --color-brand-oklch: oklch(42.9% 0.2756 271.68);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(48 3 226 / 50%); }
/* Tailwind CSS */
<div class="bg-[#3003e2] text-[#3003e2] border-[#3003e2]">