#4338B2#4338B2

#4338B2 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 43.4% C 0.185 H 279.4°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#4338B2
RGBrgb(67, 56, 178)
HSLhsl(245, 52%, 46%)
HSVhsv(245, 69%, 70%)
CMYKcmyk(62.4%, 68.5%, 0%, 30.2%)
CIE-LABlab(32.34, 40.82, -63.27)
CIE-LCHlch(32.34, 75.29, 302.83°)
OKLaboklab(43.4% 0.0303 -0.1824)
OKLCHoklch(43.4% 0.185 279.4)
XYZxyz(11.7622, 7.2351, 42.8875)
Luminance0.0724 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4338B2 #A7B238
analogous
#386AB2 #4338B2 #8038B2
triadic
#4338B2 #B24338 #38B243
tetradic
#4338B2 #B2386A #A7B238 #38B280
square
#4338B2 #B2386A #A7B238 #38B280
split-complementary
#4338B2 #B28038 #6AB238
monochromatic
#201B55 #312983 #4338B2 #665CCC #918ADA

Accessibility & contrast

On white

8.58
#4338B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#4338B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4338B2
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4338B2#FFFFFF#000000##FFFFFF
##4338B21.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B6
Deuteranopia (green-blind)
#0047B0
Tritanopia (blue-blind)
#005870
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4338b2;
/* rgb */ color: rgb(67, 56, 178);
/* oklch */ color: oklch(43.4% 0.185 279.4);
Tailwind
colors: {
  custom: {
    50: '#8470ca',
    500: '#4338b2',
    950: '#000000',
  },
}
SCSS
$custom: #4338b2;
$custom-light: #8470ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4338b2",
  "rgb": {
    "r": 67,
    "g": 56,
    "b": 178
  },
  "hsl": {
    "h": 245.41,
    "s": 52.137,
    "l": 45.882
  },
  "oklch": {
    "l": 0.43402,
    "c": 0.18489,
    "h": 279.4
  },
  "luminance": 0.07236
}

Semantic roles & 50–950 ramp

primary
#4338B2
secondary
#BEC581
accent
#DC4CCF
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4338B2

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

Preview Lab → · Contrast checker → · Palette generator →

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