#4239BA#4239BA

#4239BA is a dark, vivid blue. Relative luminance 0.076; OKLCH L 44.2% C 0.194 H 278.0°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#4239BA
RGBrgb(66, 57, 186)
HSLhsl(244, 53%, 48%)
HSVhsv(244, 69%, 73%)
CMYKcmyk(64.5%, 69.4%, 0%, 27.1%)
CIE-LABlab(33.20, 42.69, -66.60)
CIE-LCHlch(33.20, 79.11, 302.66°)
OKLaboklab(44.22% 0.027 -0.1922)
OKLCHoklch(44.22% 0.194 278)
XYZxyz(12.5700, 7.6287, 47.2549)
Luminance0.0763 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4239BA #B1BA39
analogous
#3971BA #4239BA #8239BA
triadic
#4239BA #BA4239 #39BA42
tetradic
#4239BA #BA3971 #B1BA39 #39BA82
square
#4239BA #BA3971 #B1BA39 #39BA82
split-complementary
#4239BA #BA8239 #71BA39
monochromatic
#211C5C #312B8B #4239BA #6961CF #9690DD

Accessibility & contrast

On white

8.31
#4239BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#4239BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4239BA
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4239BA#FFFFFF#000000##FFFFFF
##4239BA1.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BE
Deuteranopia (green-blind)
#0049B8
Tritanopia (blue-blind)
#005C75
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4239ba;
/* rgb */ color: rgb(66, 57, 186);
/* oklch */ color: oklch(44.2% 0.194 278.0);
Tailwind
colors: {
  custom: {
    50: '#8571d0',
    500: '#4239ba',
    950: '#000000',
  },
}
SCSS
$custom: #4239ba;
$custom-light: #8571d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4239ba",
  "rgb": {
    "r": 66,
    "g": 57,
    "b": 186
  },
  "hsl": {
    "h": 244.186,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.44223,
    "c": 0.19407,
    "h": 278
  },
  "luminance": 0.0763
}

Semantic roles & 50–950 ramp

primary
#4239BA
secondary
#C3C887
accent
#DC4BD2
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #4239BA

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

Preview Lab → · Contrast checker → · Palette generator →

#4239BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva