#2124A6#2124A6

#2124A6 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 37.0% C 0.199 H 270.4°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#2124A6
RGBrgb(33, 36, 166)
HSLhsl(239, 67%, 39%)
HSVhsv(239, 80%, 65%)
CMYKcmyk(80.1%, 78.3%, 0%, 34.9%)
CIE-LABlab(24.76, 44.71, -68.63)
CIE-LCHlch(24.76, 81.91, 303.08°)
OKLaboklab(37.05% 0.0015 -0.1988)
OKLCHoklch(37.05% 0.199 270.4)
XYZxyz(8.1387, 4.3373, 36.4772)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2124A6 #A6A321
analogous
#2167A6 #2124A6 #6121A6
triadic
#2124A6 #A62124 #24A621
tetradic
#2124A6 #A62167 #A6A321 #21A661
square
#2124A6 #A62167 #A6A321 #21A661
split-complementary
#2124A6 #A66121 #67A621
monochromatic
#0D0E40 #171973 #2124A6 #2F32D6 #6265E0

Accessibility & contrast

On white

11.24
#2124A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2124A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2124A6#FFFFFF#000000##FFFFFF
##2124A61.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041AA
Deuteranopia (green-blind)
#0034A4
Tritanopia (blue-blind)
#004C64
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2124a6;
/* rgb */ color: rgb(33, 36, 166);
/* oklch */ color: oklch(37.0% 0.199 270.4);
Tailwind
colors: {
  custom: {
    50: '#7661c2',
    500: '#2124a6',
    950: '#000000',
  },
}
SCSS
$custom: #2124a6;
$custom-light: #7661c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2124a6",
  "rgb": {
    "r": 33,
    "g": 36,
    "b": 166
  },
  "hsl": {
    "h": 238.647,
    "s": 66.834,
    "l": 39.02
  },
  "oklch": {
    "l": 0.37048,
    "c": 0.19877,
    "h": 270.4
  },
  "luminance": 0.04338
}

Semantic roles & 50–950 ramp

primary
#2124A6
secondary
#C5C25E
accent
#E63EEA
background
#F7F5FC
surface
#EEEAF8
border
#C9C6D1
text
#0A0513
muted
#7C7982

Preview Lab

Preview with #2124A6

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

Preview Lab → · Contrast checker → · Palette generator →

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