#4338C1#4338C1

#4338C1 is a dark, highly saturated blue. Relative luminance 0.079; OKLCH L 44.8% C 0.204 H 277.9°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#4338C1
RGBrgb(67, 56, 193)
HSLhsl(245, 55%, 49%)
HSVhsv(245, 71%, 76%)
CMYKcmyk(65.3%, 71%, 0%, 24.3%)
CIE-LABlab(33.71, 45.64, -69.87)
CIE-LCHlch(33.71, 83.46, 303.15°)
OKLaboklab(44.81% 0.0279 -0.2017)
OKLCHoklch(44.81% 0.204 277.9)
XYZxyz(13.3514, 7.8708, 51.2574)
Luminance0.0787 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4338C1 #B6C138
analogous
#3872C1 #4338C1 #8838C1
triadic
#4338C1 #C14338 #38C143
tetradic
#4338C1 #C13872 #B6C138 #38C188
square
#4338C1 #C13872 #B6C138 #38C188
split-complementary
#4338C1 #C18838 #72C138
monochromatic
#221C62 #332A92 #4338C1 #6D64D2 #9A94E0

Accessibility & contrast

On white

8.16
#4338C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#4338C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4338C1
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4338C1#FFFFFF#000000##FFFFFF
##4338C11.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C5
Deuteranopia (green-blind)
#004ABE
Tritanopia (blue-blind)
#005E79
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4338c1;
/* rgb */ color: rgb(67, 56, 193);
/* oklch */ color: oklch(44.8% 0.204 277.9);
Tailwind
colors: {
  custom: {
    50: '#8770d5',
    500: '#4338c1',
    950: '#000000',
  },
}
SCSS
$custom: #4338c1;
$custom-light: #8770d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4338c1",
  "rgb": {
    "r": 67,
    "g": 56,
    "b": 193
  },
  "hsl": {
    "h": 244.818,
    "s": 55.02,
    "l": 48.824
  },
  "oklch": {
    "l": 0.44808,
    "c": 0.20364,
    "h": 277.9
  },
  "luminance": 0.07872
}

Semantic roles & 50–950 ramp

primary
#4338C1
secondary
#C6CB8A
accent
#DE49D2
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #4338C1

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

Preview Lab → · Contrast checker → · Palette generator →

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