#2125B0#2125B0

#2125B0 is a dark, highly saturated blue. Relative luminance 0.048; OKLCH L 38.3% C 0.210 H 269.8°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#2125B0
RGBrgb(33, 37, 176)
HSLhsl(238, 68%, 41%)
HSVhsv(238, 81%, 69%)
CMYKcmyk(81.3%, 79%, 0%, 31%)
CIE-LABlab(26.10, 47.47, -72.43)
CIE-LCHlch(26.10, 86.60, 303.24°)
OKLaboklab(38.33% -0.0006 -0.2098)
OKLCHoklch(38.33% 0.21 269.8)
XYZxyz(9.1226, 4.7800, 41.5077)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2125B0 #B0AC21
analogous
#216CB0 #2125B0 #6421B0
triadic
#2125B0 #B02125 #25B021
tetradic
#2125B0 #B0216C #B0AC21 #21B064
square
#2125B0 #B0216C #B0AC21 #21B064
split-complementary
#2125B0 #B06421 #6CB021
monochromatic
#0E0F49 #171A7C #2125B0 #353AD9 #696CE3

Accessibility & contrast

On white

10.74
#2125B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2125B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2125B0#FFFFFF#000000##FFFFFF
##2125B01.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B4
Deuteranopia (green-blind)
#0036AE
Tritanopia (blue-blind)
#00506A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2125b0;
/* rgb */ color: rgb(33, 37, 176);
/* oklch */ color: oklch(38.3% 0.210 269.8);
Tailwind
colors: {
  custom: {
    50: '#7862c9',
    500: '#2125b0',
    950: '#000000',
  },
}
SCSS
$custom: #2125b0;
$custom-light: #7862c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2125b0",
  "rgb": {
    "r": 33,
    "g": 37,
    "b": 176
  },
  "hsl": {
    "h": 238.322,
    "s": 68.421,
    "l": 40.98
  },
  "oklch": {
    "l": 0.38327,
    "c": 0.20979,
    "h": 269.8
  },
  "luminance": 0.04781
}

Semantic roles & 50–950 ramp

primary
#2125B0
secondary
#C8C664
accent
#E63DEB
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2125B0

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

Preview Lab → · Contrast checker → · Palette generator →

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