#2126A9#2126A9

#2126A9 is a dark, highly saturated blue. Relative luminance 0.046; OKLCH L 37.7% C 0.201 H 270.1°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#2126A9
RGBrgb(33, 38, 169)
HSLhsl(238, 67%, 40%)
HSVhsv(238, 80%, 66%)
CMYKcmyk(80.5%, 77.5%, 0%, 33.7%)
CIE-LABlab(25.48, 44.61, -69.25)
CIE-LCHlch(25.48, 82.37, 302.79°)
OKLaboklab(37.66% 0.0004 -0.2006)
OKLCHoklch(37.66% 0.201 270.1)
XYZxyz(8.4793, 4.5732, 37.9642)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2126A9 #A9A421
analogous
#216AA9 #2126A9 #6021A9
triadic
#2126A9 #A92126 #26A921
tetradic
#2126A9 #A9216A #A9A421 #21A960
square
#2126A9 #A9216A #A9A421 #21A960
split-complementary
#2126A9 #A96021 #6AA921
monochromatic
#0D0F43 #171A76 #2126A9 #3137D7 #6468E1

Accessibility & contrast

On white

10.97
#2126A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2126A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2126A9
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2126A9#FFFFFF#000000##FFFFFF
##2126A91.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043AD
Deuteranopia (green-blind)
#0035A7
Tritanopia (blue-blind)
#004E66
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2126a9;
/* rgb */ color: rgb(33, 38, 169);
/* oklch */ color: oklch(37.7% 0.201 270.1);
Tailwind
colors: {
  custom: {
    50: '#7662c4',
    500: '#2126a9',
    950: '#000000',
  },
}
SCSS
$custom: #2126a9;
$custom-light: #7662c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2126a9",
  "rgb": {
    "r": 33,
    "g": 38,
    "b": 169
  },
  "hsl": {
    "h": 237.794,
    "s": 67.327,
    "l": 39.608
  },
  "oklch": {
    "l": 0.37659,
    "c": 0.20056,
    "h": 270.1
  },
  "luminance": 0.04574
}

Semantic roles & 50–950 ramp

primary
#2126A9
secondary
#C6C260
accent
#E43EEA
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0A0513
muted
#7C7982

Preview Lab

Preview with #2126A9

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

Preview Lab → · Contrast checker → · Palette generator →

#2126A9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva