#4338CF#4338CF

#4338CF is a mid, highly saturated blue. Relative luminance 0.085; OKLCH L 46.2% C 0.221 H 276.6°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#4338CF
RGBrgb(67, 56, 207)
HSLhsl(244, 61%, 52%)
HSVhsv(244, 73%, 81%)
CMYKcmyk(67.6%, 72.9%, 0%, 18.8%)
CIE-LABlab(35.05, 50.07, -75.83)
CIE-LCHlch(35.05, 90.87, 303.44°)
OKLaboklab(46.17% 0.0253 -0.2191)
OKLCHoklch(46.17% 0.221 276.6)
XYZxyz(14.9877, 8.5253, 59.8751)
Luminance0.0853 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4338CF #C4CF38
analogous
#3879CF #4338CF #8F38CF
triadic
#4338CF #CF4338 #38CF43
tetradic
#4338CF #CF3879 #C4CF38 #38CF8F
square
#4338CF #CF3879 #C4CF38 #38CF8F
split-complementary
#4338CF #CF8F38 #79CF38
monochromatic
#221B71 #3027A3 #4338CF #7269DB #A09BE7

Accessibility & contrast

On white

7.76
#4338CF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#4338CF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4338CF
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4338CF#FFFFFF#000000##FFFFFF
##4338CF1.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4338cf;
/* rgb */ color: rgb(67, 56, 207);
/* oklch */ color: oklch(46.2% 0.221 276.6);
Tailwind
colors: {
  custom: {
    50: '#8a71df',
    500: '#4338cf',
    950: '#000000',
  },
}
SCSS
$custom: #4338cf;
$custom-light: #8a71df;
$custom-dark: #000000;
JSON
{
  "hex": "#4338cf",
  "rgb": {
    "r": 67,
    "g": 56,
    "b": 207
  },
  "hsl": {
    "h": 244.371,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.46168,
    "c": 0.22056,
    "h": 276.6
  },
  "luminance": 0.08527
}

Semantic roles & 50–950 ramp

primary
#4338CF
secondary
#CED390
accent
#E444D9
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4338CF

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

Preview Lab → · Contrast checker → · Palette generator →

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