#4239A3#4239A3

#4239A3 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.1% C 0.164 H 280.5°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#4239A3
RGBrgb(66, 57, 163)
HSLhsl(245, 48%, 43%)
HSVhsv(245, 65%, 64%)
CMYKcmyk(59.5%, 65%, 0%, 36.1%)
CIE-LABlab(31.18, 35.16, -56.18)
CIE-LCHlch(31.18, 66.27, 302.04°)
OKLaboklab(42.14% 0.0299 -0.1616)
OKLCHoklch(42.14% 0.164 280.5)
XYZxyz(10.3187, 6.7281, 35.3981)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4239A3 #9AA339
analogous
#3965A3 #4239A3 #7739A3
triadic
#4239A3 #A34239 #39A342
tetradic
#4239A3 #A33965 #9AA339 #39A377
square
#4239A3 #A33965 #9AA339 #39A377
split-complementary
#4239A3 #A37739 #65A339
monochromatic
#1D1948 #302976 #4239A3 #5F55C4 #8A83D4

Accessibility & contrast

On white

8.95
#4239A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#4239A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4239A3
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4239A3#FFFFFF#000000##FFFFFF
##4239A31.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA6
Deuteranopia (green-blind)
#0045A1
Tritanopia (blue-blind)
#005469
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4239a3;
/* rgb */ color: rgb(66, 57, 163);
/* oklch */ color: oklch(42.1% 0.164 280.5);
Tailwind
colors: {
  custom: {
    50: '#8170bf',
    500: '#4239a3',
    950: '#000000',
  },
}
SCSS
$custom: #4239a3;
$custom-light: #8170bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4239a3",
  "rgb": {
    "r": 66,
    "g": 57,
    "b": 163
  },
  "hsl": {
    "h": 245.094,
    "s": 48.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.42143,
    "c": 0.16437,
    "h": 280.5
  },
  "luminance": 0.06729
}

Semantic roles & 50–950 ramp

primary
#4239A3
secondary
#B8BD7A
accent
#D850CC
background
#F8F6FB
surface
#EFECF7
border
#CAC7D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #4239A3

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

Preview Lab → · Contrast checker → · Palette generator →

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