#4239AF#4239AF

#4239AF is a dark, vivid blue. Relative luminance 0.072; OKLCH L 43.2% C 0.180 H 279.1°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#4239AF
RGBrgb(66, 57, 175)
HSLhsl(245, 51%, 45%)
HSVhsv(245, 67%, 69%)
CMYKcmyk(62.3%, 67.4%, 0%, 31.4%)
CIE-LABlab(32.21, 39.10, -61.69)
CIE-LCHlch(32.21, 73.04, 302.37°)
OKLaboklab(43.21% 0.0286 -0.1778)
OKLCHoklch(43.21% 0.18 279.1)
XYZxyz(11.4453, 7.1788, 41.3316)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4239AF #A6AF39
analogous
#396BAF #4239AF #7D39AF
triadic
#4239AF #AF4239 #39AF42
tetradic
#4239AF #AF396B #A6AF39 #39AF7D
square
#4239AF #AF396B #A6AF39 #39AF7D
split-complementary
#4239AF #AF7D39 #6BAF39
monochromatic
#1F1B53 #312A81 #4239AF #645BCA #908AD9

Accessibility & contrast

On white

8.62
#4239AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#4239AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4239AF
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4239AF#FFFFFF#000000##FFFFFF
##4239AF1.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B3
Deuteranopia (green-blind)
#0047AD
Tritanopia (blue-blind)
#00586F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4239af;
/* rgb */ color: rgb(66, 57, 175);
/* oklch */ color: oklch(43.2% 0.180 279.1);
Tailwind
colors: {
  custom: {
    50: '#8370c8',
    500: '#4239af',
    950: '#000000',
  },
}
SCSS
$custom: #4239af;
$custom-light: #8370c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4239af",
  "rgb": {
    "r": 66,
    "g": 57,
    "b": 175
  },
  "hsl": {
    "h": 244.576,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.4321,
    "c": 0.18008,
    "h": 279.1
  },
  "luminance": 0.0718
}

Semantic roles & 50–950 ramp

primary
#4239AF
secondary
#BEC381
accent
#DA4DD0
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4239AF

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

Preview Lab → · Contrast checker → · Palette generator →

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