#4229EA#4229EA

#4229EA is a mid, highly saturated blue. Relative luminance 0.087; OKLCH L 47.2% C 0.264 H 275.2°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#4229EA
RGBrgb(66, 41, 234)
HSLhsl(248, 82%, 54%)
HSVhsv(248, 82%, 92%)
CMYKcmyk(71.8%, 82.5%, 0%, 8.2%)
CIE-LABlab(35.37, 65.12, -90.82)
CIE-LCHlch(35.37, 111.75, 305.64°)
OKLaboklab(47.21% 0.0238 -0.2625)
OKLCHoklch(47.21% 0.264 275.2)
XYZxyz(17.8861, 8.6829, 78.5593)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4229EA #D1EA29
analogous
#2971EA #4229EA #A329EA
triadic
#4229EA #EA4229 #29EA42
tetradic
#4229EA #EA2971 #D1EA29 #29EAA3
square
#4229EA #EA2971 #D1EA29 #29EAA3
split-complementary
#4229EA #EAA329 #71EA29
monochromatic
#1E0E8B #2A13C3 #4229EA #7361EF #A498F5

Accessibility & contrast

On white

7.67
#4229EA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#4229EA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4229EA
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4229EA#FFFFFF#000000##FFFFFF
##4229EA1.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BEF
Deuteranopia (green-blind)
#004AE7
Tritanopia (blue-blind)
#00688D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4229ea;
/* rgb */ color: rgb(66, 41, 234);
/* oklch */ color: oklch(47.2% 0.264 275.2);
Tailwind
colors: {
  custom: {
    50: '#906af2',
    500: '#4229ea',
    950: '#000000',
  },
}
SCSS
$custom: #4229ea;
$custom-light: #906af2;
$custom-dark: #000000;
JSON
{
  "hex": "#4229ea",
  "rgb": {
    "r": 66,
    "g": 41,
    "b": 234
  },
  "hsl": {
    "h": 247.772,
    "s": 82.128,
    "l": 53.922
  },
  "oklch": {
    "l": 0.47205,
    "c": 0.2636,
    "h": 275.2
  },
  "luminance": 0.08685
}

Semantic roles & 50–950 ramp

primary
#4229EA
secondary
#D6E18E
accent
#F82FDE
background
#FAF6FF
surface
#F3EBFE
border
#CDC6D6
text
#0F0717
muted
#7F7A85

Preview Lab

Preview with #4229EA

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#4229EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva