#4338CE#4338CE

#4338CE is a mid, highly saturated blue. Relative luminance 0.085; OKLCH L 46.1% C 0.219 H 276.7°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#4338CE
RGBrgb(67, 56, 206)
HSLhsl(244, 60%, 51%)
HSVhsv(244, 73%, 81%)
CMYKcmyk(67.5%, 72.8%, 0%, 19.2%)
CIE-LABlab(34.96, 49.76, -75.41)
CIE-LCHlch(34.96, 90.35, 303.42°)
OKLaboklab(46.07% 0.0255 -0.2179)
OKLCHoklch(46.07% 0.219 276.7)
XYZxyz(14.8659, 8.4765, 59.2333)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4338CE #C3CE38
analogous
#3878CE #4338CE #8E38CE
triadic
#4338CE #CE4338 #38CE43
tetradic
#4338CE #CE3878 #C3CE38 #38CE8E
square
#4338CE #CE3878 #C3CE38 #38CE8E
split-complementary
#4338CE #CE8E38 #78CE38
monochromatic
#221C70 #3128A1 #4338CE #7169DA #A09AE6

Accessibility & contrast

On white

7.79
#4338CE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#4338CE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4338CE
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4338CE#FFFFFF#000000##FFFFFF
##4338CE1.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059D2
Deuteranopia (green-blind)
#004CCB
Tritanopia (blue-blind)
#006380
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4338ce;
/* rgb */ color: rgb(67, 56, 206);
/* oklch */ color: oklch(46.1% 0.219 276.7);
Tailwind
colors: {
  custom: {
    50: '#8a71de',
    500: '#4338ce',
    950: '#000000',
  },
}
SCSS
$custom: #4338ce;
$custom-light: #8a71de;
$custom-dark: #000000;
JSON
{
  "hex": "#4338ce",
  "rgb": {
    "r": 67,
    "g": 56,
    "b": 206
  },
  "hsl": {
    "h": 244.4,
    "s": 60.484,
    "l": 51.373
  },
  "oklch": {
    "l": 0.46069,
    "c": 0.21937,
    "h": 276.7
  },
  "luminance": 0.08478
}

Semantic roles & 50–950 ramp

primary
#4338CE
secondary
#CDD290
accent
#E444D8
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4338CE

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

Preview Lab → · Contrast checker → · Palette generator →

#4338CE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva