#2139A0#2139A0

#2139A0 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.8% C 0.169 H 267.5°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#2139A0
RGBrgb(33, 57, 160)
HSLhsl(229, 66%, 38%)
HSVhsv(229, 79%, 63%)
CMYKcmyk(79.4%, 64.4%, 0%, 37.3%)
CIE-LABlab(28.87, 29.61, -58.23)
CIE-LCHlch(28.87, 65.32, 296.96°)
OKLaboklab(39.83% -0.0072 -0.1685)
OKLCHoklch(39.83% 0.169 267.5)
XYZxyz(8.4333, 5.7867, 33.9234)
Luminance0.0579 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2139A0 #A08821
analogous
#2179A0 #2139A0 #4821A0
triadic
#2139A0 #A02139 #39A021
tetradic
#2139A0 #A02179 #A08821 #21A048
square
#2139A0 #A02179 #A08821 #21A048
split-complementary
#2139A0 #A04821 #79A021
monochromatic
#0C153B #17276D #2139A0 #2B4BD3 #5E76DE

Accessibility & contrast

On white

9.73
#2139A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#2139A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2139A0
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2139A0#FFFFFF#000000##FFFFFF
##2139A01.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA3
Deuteranopia (green-blind)
#003E9E
Tritanopia (blue-blind)
#005467
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2139a0;
/* rgb */ color: rgb(33, 57, 160);
/* oklch */ color: oklch(39.8% 0.169 267.5);
Tailwind
colors: {
  custom: {
    50: '#726fbd',
    500: '#2139a0',
    950: '#000000',
  },
}
SCSS
$custom: #2139a0;
$custom-light: #726fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2139a0",
  "rgb": {
    "r": 33,
    "g": 57,
    "b": 160
  },
  "hsl": {
    "h": 228.661,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.39829,
    "c": 0.16862,
    "h": 267.5
  },
  "luminance": 0.05788
}

Semantic roles & 50–950 ramp

primary
#2139A0
secondary
#C2AF5B
accent
#C93FE9
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #2139A0

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

Preview Lab → · Contrast checker → · Palette generator →

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