#4338C5#4338C5

#4338C5 is a mid, highly saturated blue. Relative luminance 0.081; OKLCH L 45.2% C 0.209 H 277.5°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#4338C5
RGBrgb(67, 56, 197)
HSLhsl(245, 56%, 50%)
HSVhsv(245, 72%, 77%)
CMYKcmyk(66%, 71.6%, 0%, 22.7%)
CIE-LABlab(34.09, 46.91, -71.59)
CIE-LCHlch(34.09, 85.59, 303.23°)
OKLaboklab(45.19% 0.0272 -0.2067)
OKLCHoklch(45.19% 0.209 277.5)
XYZxyz(13.8037, 8.0517, 53.6392)
Luminance0.0805 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4338C5 #BAC538
analogous
#3874C5 #4338C5 #8A38C5
triadic
#4338C5 #C54338 #38C543
tetradic
#4338C5 #C53874 #BAC538 #38C58A
square
#4338C5 #C53874 #BAC538 #38C58A
split-complementary
#4338C5 #C58A38 #74C538
monochromatic
#231D66 #332A95 #4338C5 #6F67D4 #9C96E1

Accessibility & contrast

On white

8.04
#4338C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#4338C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4338C5
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4338C5#FFFFFF#000000##FFFFFF
##4338C51.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C9
Deuteranopia (green-blind)
#004AC2
Tritanopia (blue-blind)
#005F7B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4338c5;
/* rgb */ color: rgb(67, 56, 197);
/* oklch */ color: oklch(45.2% 0.209 277.5);
Tailwind
colors: {
  custom: {
    50: '#8870d8',
    500: '#4338c5',
    950: '#000000',
  },
}
SCSS
$custom: #4338c5;
$custom-light: #8870d8;
$custom-dark: #000000;
JSON
{
  "hex": "#4338c5",
  "rgb": {
    "r": 67,
    "g": 56,
    "b": 197
  },
  "hsl": {
    "h": 244.681,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.45192,
    "c": 0.20853,
    "h": 277.5
  },
  "luminance": 0.08053
}

Semantic roles & 50–950 ramp

primary
#4338C5
secondary
#C8CD8C
accent
#DF49D3
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4338C5

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

Preview Lab → · Contrast checker → · Palette generator →

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