#2139A5#2139A5

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

Color values

HEX#2139A5
RGBrgb(33, 57, 165)
HSLhsl(229, 67%, 39%)
HSVhsv(229, 80%, 65%)
CMYKcmyk(80%, 65.5%, 0%, 35.3%)
CIE-LABlab(29.32, 31.51, -60.50)
CIE-LCHlch(29.32, 68.21, 297.51°)
OKLaboklab(40.31% -0.0074 -0.1751)
OKLCHoklch(40.31% 0.175 267.6)
XYZxyz(8.8795, 5.9652, 36.2734)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2139A5 #A58D21
analogous
#217BA5 #2139A5 #4B21A5
triadic
#2139A5 #A52139 #39A521
tetradic
#2139A5 #A5217B #A58D21 #21A54B
square
#2139A5 #A5217B #A58D21 #21A54B
split-complementary
#2139A5 #A54B21 #7BA521
monochromatic
#0D163F #172772 #2139A5 #2E4CD5 #6178DF

Accessibility & contrast

On white

9.58
#2139A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#2139A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2139A5
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2139A5#FFFFFF#000000##FFFFFF
##2139A51.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA8
Deuteranopia (green-blind)
#003FA3
Tritanopia (blue-blind)
#00566A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2139a5;
/* rgb */ color: rgb(33, 57, 165);
/* oklch */ color: oklch(40.3% 0.175 267.6);
Tailwind
colors: {
  custom: {
    50: '#736fc1',
    500: '#2139a5',
    950: '#000000',
  },
}
SCSS
$custom: #2139a5;
$custom-light: #736fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#2139a5",
  "rgb": {
    "r": 33,
    "g": 57,
    "b": 165
  },
  "hsl": {
    "h": 229.091,
    "s": 66.667,
    "l": 38.824
  },
  "oklch": {
    "l": 0.40306,
    "c": 0.17528,
    "h": 267.6
  },
  "luminance": 0.05966
}

Semantic roles & 50–950 ramp

primary
#2139A5
secondary
#C4B25E
accent
#CA3EEA
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2139A5

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

Preview Lab → · Contrast checker → · Palette generator →

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