#4239A2#4239A2

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

Color values

HEX#4239A2
RGBrgb(66, 57, 162)
HSLhsl(245, 48%, 43%)
HSVhsv(245, 65%, 64%)
CMYKcmyk(59.3%, 64.8%, 0%, 36.5%)
CIE-LABlab(31.10, 34.83, -55.71)
CIE-LCHlch(31.10, 65.70, 302.02°)
OKLaboklab(42.06% 0.03 -0.1602)
OKLCHoklch(42.06% 0.163 280.6)
XYZxyz(10.2294, 6.6924, 34.9281)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4239A2 #99A239
analogous
#3964A2 #4239A2 #7639A2
triadic
#4239A2 #A24239 #39A242
tetradic
#4239A2 #A23964 #99A239 #39A276
square
#4239A2 #A23964 #99A239 #39A276
split-complementary
#4239A2 #A27639 #64A239
monochromatic
#1D1947 #302975 #4239A2 #5E55C3 #8982D3

Accessibility & contrast

On white

8.98
#4239A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#4239A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4239A2
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4239A2#FFFFFF#000000##FFFFFF
##4239A21.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA5
Deuteranopia (green-blind)
#0045A0
Tritanopia (blue-blind)
#025368
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4239a2;
/* rgb */ color: rgb(66, 57, 162);
/* oklch */ color: oklch(42.1% 0.163 280.6);
Tailwind
colors: {
  custom: {
    50: '#8170be',
    500: '#4239a2',
    950: '#000000',
  },
}
SCSS
$custom: #4239a2;
$custom-light: #8170be;
$custom-dark: #000000;
JSON
{
  "hex": "#4239a2",
  "rgb": {
    "r": 66,
    "g": 57,
    "b": 162
  },
  "hsl": {
    "h": 245.143,
    "s": 47.945,
    "l": 42.941
  },
  "oklch": {
    "l": 0.42057,
    "c": 0.16304,
    "h": 280.6
  },
  "luminance": 0.06693
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4239A2

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

Preview Lab → · Contrast checker → · Palette generator →

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