#2139A7#2139A7

#2139A7 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.5% C 0.178 H 267.6°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#2139A7
RGBrgb(33, 57, 167)
HSLhsl(229, 67%, 39%)
HSVhsv(229, 80%, 65%)
CMYKcmyk(80.2%, 65.9%, 0%, 34.5%)
CIE-LABlab(29.51, 32.27, -61.40)
CIE-LCHlch(29.51, 69.36, 297.72°)
OKLaboklab(40.5% -0.0075 -0.1777)
OKLCHoklch(40.5% 0.178 267.6)
XYZxyz(9.0630, 6.0386, 37.2396)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2139A7 #A78F21
analogous
#217CA7 #2139A7 #4C21A7
triadic
#2139A7 #A72139 #39A721
tetradic
#2139A7 #A7217C #A78F21 #21A74C
square
#2139A7 #A7217C #A78F21 #21A74C
split-complementary
#2139A7 #A74C21 #7CA721
monochromatic
#0D1641 #172874 #2139A7 #2F4DD6 #6279E0

Accessibility & contrast

On white

9.51
#2139A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#2139A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2139A7
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2139A7#FFFFFF#000000##FFFFFF
##2139A71.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAA
Deuteranopia (green-blind)
#003FA5
Tritanopia (blue-blind)
#00566B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2139a7;
/* rgb */ color: rgb(33, 57, 167);
/* oklch */ color: oklch(40.5% 0.178 267.6);
Tailwind
colors: {
  custom: {
    50: '#746fc2',
    500: '#2139a7',
    950: '#000000',
  },
}
SCSS
$custom: #2139a7;
$custom-light: #746fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#2139a7",
  "rgb": {
    "r": 33,
    "g": 57,
    "b": 167
  },
  "hsl": {
    "h": 229.254,
    "s": 67,
    "l": 39.216
  },
  "oklch": {
    "l": 0.40498,
    "c": 0.17791,
    "h": 267.6
  },
  "luminance": 0.0604
}

Semantic roles & 50–950 ramp

primary
#2139A7
secondary
#C5B35F
accent
#CB3EEA
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2139A7

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

Preview Lab → · Contrast checker → · Palette generator →

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