#4338CB#4338CB

#4338CB is a mid, highly saturated blue. Relative luminance 0.083; OKLCH L 45.8% C 0.216 H 276.9°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#4338CB
RGBrgb(67, 56, 203)
HSLhsl(244, 59%, 51%)
HSVhsv(244, 72%, 80%)
CMYKcmyk(67%, 72.4%, 0%, 20.4%)
CIE-LABlab(34.67, 48.81, -74.15)
CIE-LCHlch(34.67, 88.77, 303.36°)
OKLaboklab(45.78% 0.0261 -0.2142)
OKLCHoklch(45.78% 0.216 276.9)
XYZxyz(14.5049, 8.3322, 57.3322)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4338CB #C0CB38
analogous
#3876CB #4338CB #8C38CB
triadic
#4338CB #CB4338 #38CB43
tetradic
#4338CB #CB3876 #C0CB38 #38CB8C
square
#4338CB #CB3876 #C0CB38 #38CB8C
split-complementary
#4338CB #CB8C38 #76CB38
monochromatic
#221C6C #32299D #4338CB #7169D8 #9F99E4

Accessibility & contrast

On white

7.88
#4338CB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#4338CB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4338CB
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4338CB#FFFFFF#000000##FFFFFF
##4338CB1.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CF
Deuteranopia (green-blind)
#004BC8
Tritanopia (blue-blind)
#00617E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4338cb;
/* rgb */ color: rgb(67, 56, 203);
/* oklch */ color: oklch(45.8% 0.216 276.9);
Tailwind
colors: {
  custom: {
    50: '#8971dc',
    500: '#4338cb',
    950: '#000000',
  },
}
SCSS
$custom: #4338cb;
$custom-light: #8971dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4338cb",
  "rgb": {
    "r": 67,
    "g": 56,
    "b": 203
  },
  "hsl": {
    "h": 244.49,
    "s": 58.566,
    "l": 50.784
  },
  "oklch": {
    "l": 0.45775,
    "c": 0.21578,
    "h": 276.9
  },
  "luminance": 0.08333
}

Semantic roles & 50–950 ramp

primary
#4338CB
secondary
#CBD08F
accent
#E246D6
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4338CB

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

Preview Lab → · Contrast checker → · Palette generator →

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