#4239BF#4239BF

#4239BF is a dark, highly saturated blue. Relative luminance 0.078; OKLCH L 44.7% C 0.200 H 277.5°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#4239BF
RGBrgb(66, 57, 191)
HSLhsl(244, 54%, 49%)
HSVhsv(244, 70%, 75%)
CMYKcmyk(65.4%, 70.2%, 0%, 25.1%)
CIE-LABlab(33.66, 44.30, -68.79)
CIE-LCHlch(33.66, 81.82, 302.78°)
OKLaboklab(44.69% 0.0262 -0.1986)
OKLCHoklch(44.69% 0.2 277.5)
XYZxyz(13.1108, 7.8450, 50.1034)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4239BF #B6BF39
analogous
#3973BF #4239BF #8539BF
triadic
#4239BF #BF4239 #39BF42
tetradic
#4239BF #BF3973 #B6BF39 #39BF85
square
#4239BF #BF3973 #B6BF39 #39BF85
split-complementary
#4239BF #BF8539 #73BF39
monochromatic
#211D61 #322B90 #4239BF #6C64D1 #9993DF

Accessibility & contrast

On white

8.17
#4239BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#4239BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4239BF
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4239BF#FFFFFF#000000##FFFFFF
##4239BF1.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C3
Deuteranopia (green-blind)
#0049BD
Tritanopia (blue-blind)
#005E78
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4239bf;
/* rgb */ color: rgb(66, 57, 191);
/* oklch */ color: oklch(44.7% 0.200 277.5);
Tailwind
colors: {
  custom: {
    50: '#8671d3',
    500: '#4239bf',
    950: '#000000',
  },
}
SCSS
$custom: #4239bf;
$custom-light: #8671d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4239bf",
  "rgb": {
    "r": 66,
    "g": 57,
    "b": 191
  },
  "hsl": {
    "h": 244.03,
    "s": 54.032,
    "l": 48.627
  },
  "oklch": {
    "l": 0.44694,
    "c": 0.2003,
    "h": 277.5
  },
  "luminance": 0.07846
}

Semantic roles & 50–950 ramp

primary
#4239BF
secondary
#C6CA8A
accent
#DD4AD4
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0D0814
muted
#7D7B83

Preview Lab

Preview with #4239BF

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

Preview Lab → · Contrast checker → · Palette generator →

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