#4338A1#4338A1

#4338A1 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.9% C 0.163 H 281.5°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#4338A1
RGBrgb(67, 56, 161)
HSLhsl(246, 48%, 43%)
HSVhsv(246, 65%, 63%)
CMYKcmyk(58.4%, 65.2%, 0%, 36.9%)
CIE-LABlab(30.86, 35.29, -55.48)
CIE-LCHlch(30.86, 65.75, 302.46°)
OKLaboklab(41.88% 0.0324 -0.1595)
OKLCHoklch(41.88% 0.163 281.5)
XYZxyz(10.1599, 6.5942, 34.4487)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4338A1 #96A138
analogous
#3861A1 #4338A1 #7838A1
triadic
#4338A1 #A14338 #38A143
tetradic
#4338A1 #A13861 #96A138 #38A178
square
#4338A1 #A13861 #96A138 #38A178
split-complementary
#4338A1 #A17838 #61A138
monochromatic
#1D1846 #302874 #4338A1 #5F53C3 #8980D3

Accessibility & contrast

On white

9.06
#4338A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#4338A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4338A1
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4338A1#FFFFFF#000000##FFFFFF
##4338A11.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA4
Deuteranopia (green-blind)
#00459F
Tritanopia (blue-blind)
#0C5267
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4338a1;
/* rgb */ color: rgb(67, 56, 161);
/* oklch */ color: oklch(41.9% 0.163 281.5);
Tailwind
colors: {
  custom: {
    50: '#816fbe',
    500: '#4338a1',
    950: '#000000',
  },
}
SCSS
$custom: #4338a1;
$custom-light: #816fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#4338a1",
  "rgb": {
    "r": 67,
    "g": 56,
    "b": 161
  },
  "hsl": {
    "h": 246.286,
    "s": 48.387,
    "l": 42.549
  },
  "oklch": {
    "l": 0.41883,
    "c": 0.1628,
    "h": 281.5
  },
  "luminance": 0.06595
}

Semantic roles & 50–950 ramp

primary
#4338A1
secondary
#B5BC78
accent
#D850CA
background
#F8F6FB
surface
#EFECF7
border
#CAC7D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #4338A1

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

Preview Lab → · Contrast checker → · Palette generator →

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