#2129A8#2129A8

#2129A8 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 38.0% C 0.197 H 269.9°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#2129A8
RGBrgb(33, 41, 168)
HSLhsl(236, 67%, 39%)
HSVhsv(236, 80%, 66%)
CMYKcmyk(80.4%, 75.6%, 0%, 34.1%)
CIE-LABlab(25.97, 42.58, -67.84)
CIE-LCHlch(25.97, 80.09, 302.11°)
OKLaboklab(37.97% -0.0005 -0.1965)
OKLCHoklch(37.97% 0.197 269.9)
XYZxyz(8.4856, 4.7354, 37.5050)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2129A8 #A8A021
analogous
#216DA8 #2129A8 #5C21A8
triadic
#2129A8 #A82129 #29A821
tetradic
#2129A8 #A8216D #A8A021 #21A85C
square
#2129A8 #A8216D #A8A021 #21A85C
split-complementary
#2129A8 #A85C21 #6DA821
monochromatic
#0D1042 #171D75 #2129A8 #303AD6 #636AE0

Accessibility & contrast

On white

10.78
#2129A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#2129A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2129A8
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2129A8#FFFFFF#000000##FFFFFF
##2129A81.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AC
Deuteranopia (green-blind)
#0037A6
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2129a8;
/* rgb */ color: rgb(33, 41, 168);
/* oklch */ color: oklch(38.0% 0.197 269.9);
Tailwind
colors: {
  custom: {
    50: '#7664c3',
    500: '#2129a8',
    950: '#000000',
  },
}
SCSS
$custom: #2129a8;
$custom-light: #7664c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2129a8",
  "rgb": {
    "r": 33,
    "g": 41,
    "b": 168
  },
  "hsl": {
    "h": 236.444,
    "s": 67.164,
    "l": 39.412
  },
  "oklch": {
    "l": 0.37969,
    "c": 0.19651,
    "h": 269.9
  },
  "luminance": 0.04736
}

Semantic roles & 50–950 ramp

primary
#2129A8
secondary
#C5BF5F
accent
#E03EEA
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0513
muted
#7C7A82

Preview Lab

Preview with #2129A8

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

Preview Lab → · Contrast checker → · Palette generator →

#2129A8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva