#2125AA#2125AA

#2125AA is a dark, highly saturated blue. Relative luminance 0.045; OKLCH L 37.6% C 0.203 H 270.1°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#2125AA
RGBrgb(33, 37, 170)
HSLhsl(238, 67%, 40%)
HSVhsv(238, 81%, 67%)
CMYKcmyk(80.6%, 78.2%, 0%, 33.3%)
CIE-LABlab(25.41, 45.49, -69.98)
CIE-LCHlch(25.41, 83.46, 303.03°)
OKLaboklab(37.64% 0.0005 -0.2027)
OKLCHoklch(37.64% 0.203 270.1)
XYZxyz(8.5420, 4.5478, 38.4500)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2125AA #AAA621
analogous
#216AAA #2125AA #6121AA
triadic
#2125AA #AA2125 #25AA21
tetradic
#2125AA #AA216A #AAA621 #21AA61
square
#2125AA #AA216A #AAA621 #21AA61
split-complementary
#2125AA #AA6121 #6AAA21
monochromatic
#0D0F43 #171A77 #2125AA #3136D7 #6468E1

Accessibility & contrast

On white

11.00
#2125AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2125AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2125AA
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2125AA#FFFFFF#000000##FFFFFF
##2125AA1.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2125aa;
/* rgb */ color: rgb(33, 37, 170);
/* oklch */ color: oklch(37.6% 0.203 270.1);
Tailwind
colors: {
  custom: {
    50: '#7762c5',
    500: '#2125aa',
    950: '#000000',
  },
}
SCSS
$custom: #2125aa;
$custom-light: #7762c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2125aa",
  "rgb": {
    "r": 33,
    "g": 37,
    "b": 170
  },
  "hsl": {
    "h": 238.248,
    "s": 67.488,
    "l": 39.804
  },
  "oklch": {
    "l": 0.37638,
    "c": 0.20267,
    "h": 270.1
  },
  "luminance": 0.04549
}

Semantic roles & 50–950 ramp

primary
#2125AA
secondary
#C6C361
accent
#E53DEA
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0A0513
muted
#7C7982

Preview Lab

Preview with #2125AA

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

Preview Lab → · Contrast checker → · Palette generator →

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