#4338CC#4338CC

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

Color values

HEX#4338CC
RGBrgb(67, 56, 204)
HSLhsl(244, 59%, 51%)
HSVhsv(244, 73%, 80%)
CMYKcmyk(67.2%, 72.5%, 0%, 20%)
CIE-LABlab(34.76, 49.13, -74.57)
CIE-LCHlch(34.76, 89.30, 303.38°)
OKLaboklab(45.87% 0.0259 -0.2154)
OKLCHoklch(45.87% 0.217 276.8)
XYZxyz(14.6244, 8.3800, 57.9618)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4338CC #C1CC38
analogous
#3877CC #4338CC #8D38CC
triadic
#4338CC #CC4338 #38CC43
tetradic
#4338CC #CC3877 #C1CC38 #38CC8D
square
#4338CC #CC3877 #C1CC38 #38CC8D
split-complementary
#4338CC #CC8D38 #77CC38
monochromatic
#221C6E #31299E #4338CC #7169D8 #9F99E5

Accessibility & contrast

On white

7.85
#4338CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#4338CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4338CC
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4338CC#FFFFFF#000000##FFFFFF
##4338CC1.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4338cc;
/* rgb */ color: rgb(67, 56, 204);
/* oklch */ color: oklch(45.9% 0.217 276.8);
Tailwind
colors: {
  custom: {
    50: '#8971dd',
    500: '#4338cc',
    950: '#000000',
  },
}
SCSS
$custom: #4338cc;
$custom-light: #8971dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4338cc",
  "rgb": {
    "r": 67,
    "g": 56,
    "b": 204
  },
  "hsl": {
    "h": 244.459,
    "s": 59.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.45873,
    "c": 0.21699,
    "h": 276.8
  },
  "luminance": 0.08381
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4338CC

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

Preview Lab → · Contrast checker → · Palette generator →

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