#2139AF#2139AF

#2139AF is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.3% C 0.188 H 267.6°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#2139AF
RGBrgb(33, 57, 175)
HSLhsl(230, 68%, 41%)
HSVhsv(230, 81%, 69%)
CMYKcmyk(81.1%, 67.4%, 0%, 31.4%)
CIE-LABlab(30.26, 35.25, -64.96)
CIE-LCHlch(30.26, 73.91, 298.49°)
OKLaboklab(41.28% -0.0079 -0.1882)
OKLCHoklch(41.28% 0.188 267.6)
XYZxyz(9.8255, 6.3436, 41.2557)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2139AF #AF9721
analogous
#2180AF #2139AF #5021AF
triadic
#2139AF #AF2139 #39AF21
tetradic
#2139AF #AF2180 #AF9721 #21AF50
square
#2139AF #AF2180 #AF9721 #21AF50
split-complementary
#2139AF #AF5021 #80AF21
monochromatic
#0E1748 #17287C #2139AF #3450D9 #687DE3

Accessibility & contrast

On white

9.26
#2139AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#2139AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2139AF
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2139AF#FFFFFF#000000##FFFFFF
##2139AF1.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB3
Deuteranopia (green-blind)
#0041AD
Tritanopia (blue-blind)
#00596F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2139af;
/* rgb */ color: rgb(33, 57, 175);
/* oklch */ color: oklch(41.3% 0.188 267.6);
Tailwind
colors: {
  custom: {
    50: '#766fc8',
    500: '#2139af',
    950: '#000000',
  },
}
SCSS
$custom: #2139af;
$custom-light: #766fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#2139af",
  "rgb": {
    "r": 33,
    "g": 57,
    "b": 175
  },
  "hsl": {
    "h": 229.859,
    "s": 68.269,
    "l": 40.784
  },
  "oklch": {
    "l": 0.41279,
    "c": 0.18832,
    "h": 267.6
  },
  "luminance": 0.06345
}

Semantic roles & 50–950 ramp

primary
#2139AF
secondary
#C8B764
accent
#CE3DEB
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2139AF

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

Preview Lab → · Contrast checker → · Palette generator →

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