#2125D4#2125D4

#2125D4 is a dark, highly saturated blue. Relative luminance 0.064; OKLCH L 42.6% C 0.251 H 268.3°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#2125D4
RGBrgb(33, 37, 212)
HSLhsl(239, 73%, 48%)
HSVhsv(239, 84%, 83%)
CMYKcmyk(84.4%, 82.5%, 0%, 16.9%)
CIE-LABlab(30.40, 58.74, -86.50)
CIE-LCHlch(30.40, 104.56, 304.18°)
OKLaboklab(42.55% -0.0073 -0.2505)
OKLCHoklch(42.55% 0.251 268.3)
XYZxyz(13.1684, 6.3983, 62.8155)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2125D4 #D4D021
analogous
#217FD4 #2125D4 #7621D4
triadic
#2125D4 #D42125 #25D421
tetradic
#2125D4 #D4217F #D4D021 #21D476
square
#2125D4 #D4217F #D4D021 #21D476
split-complementary
#2125D4 #D47621 #7FD421
monochromatic
#11136A #191C9F #2125D4 #4F52E4 #8486EC

Accessibility & contrast

On white

9.21
#2125D4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#2125D4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2125D4#FFFFFF#000000##FFFFFF
##2125D41.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051D9
Deuteranopia (green-blind)
#003ED1
Tritanopia (blue-blind)
#005F7F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2125d4;
/* rgb */ color: rgb(33, 37, 212);
/* oklch */ color: oklch(42.6% 0.251 268.3);
Tailwind
colors: {
  custom: {
    50: '#8165e3',
    500: '#2125d4',
    950: '#000000',
  },
}
SCSS
$custom: #2125d4;
$custom-light: #8165e3;
$custom-dark: #000000;
JSON
{
  "hex": "#2125d4",
  "rgb": {
    "r": 33,
    "g": 37,
    "b": 212
  },
  "hsl": {
    "h": 238.659,
    "s": 73.061,
    "l": 48.039
  },
  "oklch": {
    "l": 0.42552,
    "c": 0.25059,
    "h": 268.3
  },
  "luminance": 0.064
}

Semantic roles & 50–950 ramp

primary
#2125D4
secondary
#D5D37C
accent
#EC38F0
background
#F9F6FE
surface
#F1EBFC
border
#CBC6D5
text
#0D0616
muted
#7E7A84

Preview Lab

Preview with #2125D4

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

Preview Lab → · Contrast checker → · Palette generator →

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