#4338C4#4338C4

#4338C4 is a mid, highly saturated blue. Relative luminance 0.080; OKLCH L 45.1% C 0.207 H 277.6°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#4338C4
RGBrgb(67, 56, 196)
HSLhsl(245, 56%, 49%)
HSVhsv(245, 71%, 77%)
CMYKcmyk(65.8%, 71.4%, 0%, 23.1%)
CIE-LABlab(34.00, 46.59, -71.16)
CIE-LCHlch(34.00, 85.06, 303.21°)
OKLaboklab(45.1% 0.0273 -0.2055)
OKLCHoklch(45.1% 0.207 277.6)
XYZxyz(13.6895, 8.0060, 53.0377)
Luminance0.0801 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4338C4 #B9C438
analogous
#3873C4 #4338C4 #8938C4
triadic
#4338C4 #C44338 #38C443
tetradic
#4338C4 #C43873 #B9C438 #38C489
square
#4338C4 #C43873 #B9C438 #38C489
split-complementary
#4338C4 #C48938 #73C438
monochromatic
#221D65 #332A94 #4338C4 #6F66D3 #9B96E1

Accessibility & contrast

On white

8.07
#4338C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#4338C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4338C4
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4338C4#FFFFFF#000000##FFFFFF
##4338C41.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C8
Deuteranopia (green-blind)
#004AC1
Tritanopia (blue-blind)
#005F7A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4338c4;
/* rgb */ color: rgb(67, 56, 196);
/* oklch */ color: oklch(45.1% 0.207 277.6);
Tailwind
colors: {
  custom: {
    50: '#8870d7',
    500: '#4338c4',
    950: '#000000',
  },
}
SCSS
$custom: #4338c4;
$custom-light: #8870d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4338c4",
  "rgb": {
    "r": 67,
    "g": 56,
    "b": 196
  },
  "hsl": {
    "h": 244.714,
    "s": 55.556,
    "l": 49.412
  },
  "oklch": {
    "l": 0.45096,
    "c": 0.2073,
    "h": 277.6
  },
  "luminance": 0.08007
}

Semantic roles & 50–950 ramp

primary
#4338C4
secondary
#C7CC8C
accent
#DF49D3
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4338C4

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

Preview Lab → · Contrast checker → · Palette generator →

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