#2139A9#2139A9

#2139A9 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.7% C 0.181 H 267.6°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#2139A9
RGBrgb(33, 57, 169)
HSLhsl(229, 67%, 40%)
HSVhsv(229, 80%, 66%)
CMYKcmyk(80.5%, 66.3%, 0%, 33.7%)
CIE-LABlab(29.70, 33.02, -62.30)
CIE-LCHlch(29.70, 70.51, 297.92°)
OKLaboklab(40.69% -0.0076 -0.1804)
OKLCHoklch(40.69% 0.181 267.6)
XYZxyz(9.2493, 6.1131, 38.2209)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2139A9 #A99121
analogous
#217DA9 #2139A9 #4D21A9
triadic
#2139A9 #A92139 #39A921
tetradic
#2139A9 #A9217D #A99121 #21A94D
square
#2139A9 #A9217D #A99121 #21A94D
split-complementary
#2139A9 #A94D21 #7DA921
monochromatic
#0D1643 #172876 #2139A9 #314ED7 #647AE1

Accessibility & contrast

On white

9.45
#2139A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#2139A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2139A9
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2139A9#FFFFFF#000000##FFFFFF
##2139A91.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAD
Deuteranopia (green-blind)
#0040A7
Tritanopia (blue-blind)
#00576C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2139a9;
/* rgb */ color: rgb(33, 57, 169);
/* oklch */ color: oklch(40.7% 0.181 267.6);
Tailwind
colors: {
  custom: {
    50: '#746fc4',
    500: '#2139a9',
    950: '#000000',
  },
}
SCSS
$custom: #2139a9;
$custom-light: #746fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2139a9",
  "rgb": {
    "r": 33,
    "g": 57,
    "b": 169
  },
  "hsl": {
    "h": 229.412,
    "s": 67.327,
    "l": 39.608
  },
  "oklch": {
    "l": 0.40692,
    "c": 0.18053,
    "h": 267.6
  },
  "luminance": 0.06114
}

Semantic roles & 50–950 ramp

primary
#2139A9
secondary
#C6B460
accent
#CC3EEA
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2139A9

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

Preview Lab → · Contrast checker → · Palette generator →

#2139A9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva