#4243EF#4243EF

#4243EF is a mid, highly saturated blue. Relative luminance 0.114; OKLCH L 50.8% C 0.248 H 272.9°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#4243EF
RGBrgb(66, 67, 239)
HSLhsl(240, 84%, 60%)
HSVhsv(240, 72%, 94%)
CMYKcmyk(72.4%, 72%, 0%, 6.3%)
CIE-LABlab(40.25, 54.09, -85.57)
CIE-LCHlch(40.25, 101.23, 302.30°)
OKLaboklab(50.78% 0.0127 -0.2476)
OKLCHoklch(50.78% 0.248 272.9)
XYZxyz(19.8287, 11.4025, 82.8005)
Luminance0.1140 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4243EF #EFEE42
analogous
#429AEF #4243EF #9742EF
triadic
#4243EF #EF4243 #43EF42
tetradic
#4243EF #EF429A #EFEE42 #42EF97
square
#4243EF #EF429A #EFEE42 #42EF97
split-complementary
#4243EF #EF9742 #9AEF42
monochromatic
#0E0FA8 #1314E1 #4243EF #7A7BF4 #B3B3F9

Accessibility & contrast

On white

6.40
#4243EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#4243EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4243EF
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4243EF#FFFFFF#000000##FFFFFF
##4243EF1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067F4
Deuteranopia (green-blind)
#0056EC
Tritanopia (blue-blind)
#007495
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4243ef;
/* rgb */ color: rgb(66, 67, 239);
/* oklch */ color: oklch(50.8% 0.248 272.9);
Tailwind
colors: {
  custom: {
    50: '#8f79f6',
    500: '#4243ef',
    950: '#000000',
  },
}
SCSS
$custom: #4243ef;
$custom-light: #8f79f6;
$custom-dark: #000000;
JSON
{
  "hex": "#4243ef",
  "rgb": {
    "r": 66,
    "g": 67,
    "b": 239
  },
  "hsl": {
    "h": 239.653,
    "s": 84.39,
    "l": 59.804
  },
  "oklch": {
    "l": 0.5078,
    "c": 0.24791,
    "h": 272.9
  },
  "luminance": 0.11405
}

Semantic roles & 50–950 ramp

primary
#4243EF
secondary
#E8E7A5
accent
#F92DFB
background
#F9F7FF
surface
#F2EDFF
border
#CCC8D7
text
#0F0917
muted
#7E7B85

Preview Lab

Preview with #4243EF

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

Preview Lab → · Contrast checker → · Palette generator →

#4243EF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva