#2124AA#2124AA

#2124AA is a dark, highly saturated blue. Relative luminance 0.045; OKLCH L 37.5% C 0.204 H 270.2°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#2124AA
RGBrgb(33, 36, 170)
HSLhsl(239, 67%, 40%)
HSVhsv(239, 81%, 67%)
CMYKcmyk(80.6%, 78.8%, 0%, 33.3%)
CIE-LABlab(25.22, 46.03, -70.29)
CIE-LCHlch(25.22, 84.02, 303.22°)
OKLaboklab(37.51% 0.0008 -0.2035)
OKLCHoklch(37.51% 0.204 270.2)
XYZxyz(8.5113, 4.4864, 38.4398)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2124AA #AAA721
analogous
#2169AA #2124AA #6221AA
triadic
#2124AA #AA2124 #24AA21
tetradic
#2124AA #AA2169 #AAA721 #21AA62
square
#2124AA #AA2169 #AAA721 #21AA62
split-complementary
#2124AA #AA6221 #69AA21
monochromatic
#0D0E43 #171977 #2124AA #3135D7 #6467E1

Accessibility & contrast

On white

11.07
#2124AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2124AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2124AA#FFFFFF#000000##FFFFFF
##2124AA1.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043AE
Deuteranopia (green-blind)
#0035A8
Tritanopia (blue-blind)
#004D67
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2124aa;
/* rgb */ color: rgb(33, 36, 170);
/* oklch */ color: oklch(37.5% 0.204 270.2);
Tailwind
colors: {
  custom: {
    50: '#7761c5',
    500: '#2124aa',
    950: '#000000',
  },
}
SCSS
$custom: #2124aa;
$custom-light: #7761c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2124aa",
  "rgb": {
    "r": 33,
    "g": 36,
    "b": 170
  },
  "hsl": {
    "h": 238.686,
    "s": 67.488,
    "l": 39.804
  },
  "oklch": {
    "l": 0.37507,
    "c": 0.20355,
    "h": 270.2
  },
  "luminance": 0.04487
}

Semantic roles & 50–950 ramp

primary
#2124AA
secondary
#C6C461
accent
#E73DEA
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0A0513
muted
#7C7982

Preview Lab

Preview with #2124AA

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

Preview Lab → · Contrast checker → · Palette generator →

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