#4238C3#4238C3

#4238C3 is a dark, highly saturated blue. Relative luminance 0.079; OKLCH L 44.9% C 0.206 H 277.3°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#4238C3
RGBrgb(66, 56, 195)
HSLhsl(244, 55%, 49%)
HSVhsv(244, 71%, 76%)
CMYKcmyk(66.2%, 71.3%, 0%, 23.5%)
CIE-LABlab(33.83, 46.16, -70.86)
CIE-LCHlch(33.83, 84.56, 303.08°)
OKLaboklab(44.93% 0.0262 -0.2046)
OKLCHoklch(44.93% 0.206 277.3)
XYZxyz(13.5081, 7.9256, 52.4371)
Luminance0.0793 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4238C3 #B9C338
analogous
#3873C3 #4238C3 #8838C3
triadic
#4238C3 #C34238 #38C342
tetradic
#4238C3 #C33873 #B9C338 #38C388
square
#4238C3 #C33873 #B9C338 #38C388
split-complementary
#4238C3 #C38838 #73C338
monochromatic
#221D64 #322A93 #4238C3 #6D65D3 #9A95E1

Accessibility & contrast

On white

8.12
#4238C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#4238C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4238C3
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4238C3#FFFFFF#000000##FFFFFF
##4238C31.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C7
Deuteranopia (green-blind)
#004AC0
Tritanopia (blue-blind)
#005E7A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4238c3;
/* rgb */ color: rgb(66, 56, 195);
/* oklch */ color: oklch(44.9% 0.206 277.3);
Tailwind
colors: {
  custom: {
    50: '#8770d6',
    500: '#4238c3',
    950: '#000000',
  },
}
SCSS
$custom: #4238c3;
$custom-light: #8770d6;
$custom-dark: #000000;
JSON
{
  "hex": "#4238c3",
  "rgb": {
    "r": 66,
    "g": 56,
    "b": 195
  },
  "hsl": {
    "h": 244.317,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.44929,
    "c": 0.2063,
    "h": 277.3
  },
  "luminance": 0.07927
}

Semantic roles & 50–950 ramp

primary
#4238C3
secondary
#C7CC8B
accent
#DF49D4
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #4238C3

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

Preview Lab → · Contrast checker → · Palette generator →

#4238C3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva