#4338C6#4338C6

#4338C6 is a mid, highly saturated blue. Relative luminance 0.081; OKLCH L 45.3% C 0.210 H 277.4°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#4338C6
RGBrgb(67, 56, 198)
HSLhsl(245, 56%, 50%)
HSVhsv(245, 72%, 78%)
CMYKcmyk(66.2%, 71.7%, 0%, 22.4%)
CIE-LABlab(34.19, 47.23, -72.02)
CIE-LCHlch(34.19, 86.13, 303.26°)
OKLaboklab(45.29% 0.027 -0.208)
OKLCHoklch(45.29% 0.21 277.4)
XYZxyz(13.9186, 8.0977, 54.2446)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4338C6 #BBC638
analogous
#3874C6 #4338C6 #8A38C6
triadic
#4338C6 #C64338 #38C643
tetradic
#4338C6 #C63874 #BBC638 #38C68A
square
#4338C6 #C63874 #BBC638 #38C68A
split-complementary
#4338C6 #C68A38 #74C638
monochromatic
#231D67 #332B96 #4338C6 #7067D4 #9D97E2

Accessibility & contrast

On white

8.02
#4338C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#4338C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4338C6
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4338C6#FFFFFF#000000##FFFFFF
##4338C61.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056CA
Deuteranopia (green-blind)
#004AC3
Tritanopia (blue-blind)
#00607B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4338c6;
/* rgb */ color: rgb(67, 56, 198);
/* oklch */ color: oklch(45.3% 0.210 277.4);
Tailwind
colors: {
  custom: {
    50: '#8870d9',
    500: '#4338c6',
    950: '#000000',
  },
}
SCSS
$custom: #4338c6;
$custom-light: #8870d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4338c6",
  "rgb": {
    "r": 67,
    "g": 56,
    "b": 198
  },
  "hsl": {
    "h": 244.648,
    "s": 55.906,
    "l": 49.804
  },
  "oklch": {
    "l": 0.45289,
    "c": 0.20974,
    "h": 277.4
  },
  "luminance": 0.08099
}

Semantic roles & 50–950 ramp

primary
#4338C6
secondary
#C8CD8D
accent
#DF49D4
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4338C6

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

Preview Lab → · Contrast checker → · Palette generator →

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