#2125A4#2125A4

#2125A4 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 37.0% C 0.195 H 270.5°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#2125A4
RGBrgb(33, 37, 164)
HSLhsl(238, 66%, 39%)
HSVhsv(238, 80%, 64%)
CMYKcmyk(79.9%, 77.4%, 0%, 35.7%)
CIE-LABlab(24.72, 43.49, -67.48)
CIE-LCHlch(24.72, 80.28, 302.80°)
OKLaboklab(36.96% 0.0016 -0.1954)
OKLCHoklch(36.96% 0.195 270.5)
XYZxyz(7.9873, 4.3259, 35.5288)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2125A4 #A4A021
analogous
#2166A4 #2125A4 #5E21A4
triadic
#2125A4 #A42125 #25A421
tetradic
#2125A4 #A42166 #A4A021 #21A45E
square
#2125A4 #A42166 #A4A021 #21A45E
split-complementary
#2125A4 #A45E21 #66A421
monochromatic
#0C0E3E #171A71 #2125A4 #2D32D5 #6064DF

Accessibility & contrast

On white

11.26
#2125A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2125A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2125A4#FFFFFF#000000##FFFFFF
##2125A41.0011.261.8711.26
#FFFFFF11.261.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A8
Deuteranopia (green-blind)
#0034A2
Tritanopia (blue-blind)
#004B63
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2125a4;
/* rgb */ color: rgb(33, 37, 164);
/* oklch */ color: oklch(37.0% 0.195 270.5);
Tailwind
colors: {
  custom: {
    50: '#7562c0',
    500: '#2125a4',
    950: '#000000',
  },
}
SCSS
$custom: #2125a4;
$custom-light: #7562c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2125a4",
  "rgb": {
    "r": 33,
    "g": 37,
    "b": 164
  },
  "hsl": {
    "h": 238.168,
    "s": 66.497,
    "l": 38.627
  },
  "oklch": {
    "l": 0.36956,
    "c": 0.19544,
    "h": 270.5
  },
  "luminance": 0.04327
}

Semantic roles & 50–950 ramp

primary
#2125A4
secondary
#C4C15D
accent
#E43EE9
background
#F7F5FC
surface
#EEEAF8
border
#C9C6D1
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2125A4

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

Preview Lab → · Contrast checker → · Palette generator →

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