#2126AA#2126AA

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

Color values

HEX#2126AA
RGBrgb(33, 38, 170)
HSLhsl(238, 67%, 40%)
HSVhsv(238, 81%, 67%)
CMYKcmyk(80.6%, 77.6%, 0%, 33.3%)
CIE-LABlab(25.60, 44.94, -69.66)
CIE-LCHlch(25.60, 82.90, 302.83°)
OKLaboklab(37.77% 0.0002 -0.2018)
OKLCHoklch(37.77% 0.202 270.1)
XYZxyz(8.5735, 4.6109, 38.4605)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2126AA #AAA521
analogous
#216BAA #2126AA #6021AA
triadic
#2126AA #AA2126 #26AA21
tetradic
#2126AA #AA216B #AAA521 #21AA60
square
#2126AA #AA216B #AAA521 #21AA60
split-complementary
#2126AA #AA6021 #6BAA21
monochromatic
#0D0F43 #171B77 #2126AA #3137D7 #6469E1

Accessibility & contrast

On white

10.92
#2126AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2126AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2126AA#FFFFFF#000000##FFFFFF
##2126AA1.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043AE
Deuteranopia (green-blind)
#0036A8
Tritanopia (blue-blind)
#004E67
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2126aa;
/* rgb */ color: rgb(33, 38, 170);
/* oklch */ color: oklch(37.8% 0.202 270.1);
Tailwind
colors: {
  custom: {
    50: '#7762c5',
    500: '#2126aa',
    950: '#000000',
  },
}
SCSS
$custom: #2126aa;
$custom-light: #7762c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2126aa",
  "rgb": {
    "r": 33,
    "g": 38,
    "b": 170
  },
  "hsl": {
    "h": 237.81,
    "s": 67.488,
    "l": 39.804
  },
  "oklch": {
    "l": 0.37772,
    "c": 0.20177,
    "h": 270.1
  },
  "luminance": 0.04612
}

Semantic roles & 50–950 ramp

primary
#2126AA
secondary
#C6C361
accent
#E43DEA
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0513
muted
#7C7A82

Preview Lab

Preview with #2126AA

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

Preview Lab → · Contrast checker → · Palette generator →

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