#4338CD#4338CD

#4338CD is a mid, highly saturated blue. Relative luminance 0.084; OKLCH L 46.0% C 0.218 H 276.8°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#4338CD
RGBrgb(67, 56, 205)
HSLhsl(244, 60%, 51%)
HSVhsv(244, 73%, 80%)
CMYKcmyk(67.3%, 72.7%, 0%, 19.6%)
CIE-LABlab(34.86, 49.44, -74.99)
CIE-LCHlch(34.86, 89.82, 303.40°)
OKLaboklab(45.97% 0.0257 -0.2167)
OKLCHoklch(45.97% 0.218 276.8)
XYZxyz(14.7448, 8.4281, 58.5955)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4338CD #C2CD38
analogous
#3877CD #4338CD #8E38CD
triadic
#4338CD #CD4338 #38CD43
tetradic
#4338CD #CD3877 #C2CD38 #38CD8E
square
#4338CD #CD3877 #C2CD38 #38CD8E
split-complementary
#4338CD #CD8E38 #77CD38
monochromatic
#221C6F #3128A0 #4338CD #7169D9 #9F9AE6

Accessibility & contrast

On white

7.82
#4338CD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#4338CD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4338CD
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4338CD#FFFFFF#000000##FFFFFF
##4338CD1.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058D1
Deuteranopia (green-blind)
#004BCA
Tritanopia (blue-blind)
#00627F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4338cd;
/* rgb */ color: rgb(67, 56, 205);
/* oklch */ color: oklch(46.0% 0.218 276.8);
Tailwind
colors: {
  custom: {
    50: '#8971de',
    500: '#4338cd',
    950: '#000000',
  },
}
SCSS
$custom: #4338cd;
$custom-light: #8971de;
$custom-dark: #000000;
JSON
{
  "hex": "#4338cd",
  "rgb": {
    "r": 67,
    "g": 56,
    "b": 205
  },
  "hsl": {
    "h": 244.43,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.45971,
    "c": 0.21818,
    "h": 276.8
  },
  "luminance": 0.08429
}

Semantic roles & 50–950 ramp

primary
#4338CD
secondary
#CCD18F
accent
#E345D7
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4338CD

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

Preview Lab → · Contrast checker → · Palette generator →

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