#2124A8#2124A8

#2124A8 is a dark, highly saturated blue. Relative luminance 0.044; OKLCH L 37.3% C 0.201 H 270.3°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#2124A8
RGBrgb(33, 36, 168)
HSLhsl(239, 67%, 39%)
HSVhsv(239, 80%, 66%)
CMYKcmyk(80.4%, 78.6%, 0%, 34.1%)
CIE-LABlab(24.99, 45.37, -69.46)
CIE-LCHlch(24.99, 82.97, 303.15°)
OKLaboklab(37.28% 0.0012 -0.2012)
OKLCHoklch(37.28% 0.201 270.3)
XYZxyz(8.3236, 4.4113, 37.4510)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2124A8 #A8A521
analogous
#2167A8 #2124A8 #6221A8
triadic
#2124A8 #A82124 #24A821
tetradic
#2124A8 #A82167 #A8A521 #21A862
square
#2124A8 #A82167 #A8A521 #21A862
split-complementary
#2124A8 #A86221 #67A821
monochromatic
#0D0E42 #171975 #2124A8 #3034D6 #6366E0

Accessibility & contrast

On white

11.16
#2124A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2124A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2124A8
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2124A8#FFFFFF#000000##FFFFFF
##2124A81.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042AC
Deuteranopia (green-blind)
#0034A6
Tritanopia (blue-blind)
#004C65
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2124a8;
/* rgb */ color: rgb(33, 36, 168);
/* oklch */ color: oklch(37.3% 0.201 270.3);
Tailwind
colors: {
  custom: {
    50: '#7661c3',
    500: '#2124a8',
    950: '#000000',
  },
}
SCSS
$custom: #2124a8;
$custom-light: #7661c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2124a8",
  "rgb": {
    "r": 33,
    "g": 36,
    "b": 168
  },
  "hsl": {
    "h": 238.667,
    "s": 67.164,
    "l": 39.412
  },
  "oklch": {
    "l": 0.37277,
    "c": 0.20117,
    "h": 270.3
  },
  "luminance": 0.04412
}

Semantic roles & 50–950 ramp

primary
#2124A8
secondary
#C5C35F
accent
#E63EEA
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0A0513
muted
#7C7982

Preview Lab

Preview with #2124A8

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

Preview Lab → · Contrast checker → · Palette generator →

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