#4338D1#4338D1

#4338D1 is a mid, highly saturated blue. Relative luminance 0.086; OKLCH L 46.4% C 0.223 H 276.4°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#4338D1
RGBrgb(67, 56, 209)
HSLhsl(244, 62%, 52%)
HSVhsv(244, 73%, 82%)
CMYKcmyk(67.9%, 73.2%, 0%, 18%)
CIE-LABlab(35.25, 50.70, -76.67)
CIE-LCHlch(35.25, 91.91, 303.47°)
OKLaboklab(46.37% 0.0249 -0.2215)
OKLCHoklch(46.37% 0.223 276.4)
XYZxyz(15.2338, 8.6237, 61.1710)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4338D1 #C6D138
analogous
#3879D1 #4338D1 #9038D1
triadic
#4338D1 #D14338 #38D143
tetradic
#4338D1 #D13879 #C6D138 #38D190
square
#4338D1 #D13879 #C6D138 #38D190
split-complementary
#4338D1 #D19038 #79D138
monochromatic
#211B74 #2F26A6 #4338D1 #726ADC #A19BE8

Accessibility & contrast

On white

7.71
#4338D1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#4338D1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4338D1
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4338D1#FFFFFF#000000##FFFFFF
##4338D11.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059D5
Deuteranopia (green-blind)
#004CCE
Tritanopia (blue-blind)
#006481
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4338d1;
/* rgb */ color: rgb(67, 56, 209);
/* oklch */ color: oklch(46.4% 0.223 276.4);
Tailwind
colors: {
  custom: {
    50: '#8a71e0',
    500: '#4338d1',
    950: '#000000',
  },
}
SCSS
$custom: #4338d1;
$custom-light: #8a71e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4338d1",
  "rgb": {
    "r": 67,
    "g": 56,
    "b": 209
  },
  "hsl": {
    "h": 244.314,
    "s": 62.449,
    "l": 51.961
  },
  "oklch": {
    "l": 0.46365,
    "c": 0.22294,
    "h": 276.4
  },
  "luminance": 0.08625
}

Semantic roles & 50–950 ramp

primary
#4338D1
secondary
#CFD491
accent
#E642DA
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4338D1

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

Preview Lab → · Contrast checker → · Palette generator →

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