#2125A6#2125A6

#2125A6 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.2% C 0.198 H 270.4°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#2125A6
RGBrgb(33, 37, 166)
HSLhsl(238, 67%, 39%)
HSVhsv(238, 80%, 65%)
CMYKcmyk(80.1%, 77.7%, 0%, 34.9%)
CIE-LABlab(24.95, 44.16, -68.32)
CIE-LCHlch(24.95, 81.35, 302.88°)
OKLaboklab(37.18% 0.0012 -0.1979)
OKLCHoklch(37.18% 0.198 270.4)
XYZxyz(8.1694, 4.3987, 36.4875)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2125A6 #A6A221
analogous
#2168A6 #2125A6 #5F21A6
triadic
#2125A6 #A62125 #25A621
tetradic
#2125A6 #A62168 #A6A221 #21A65F
square
#2125A6 #A62168 #A6A221 #21A65F
split-complementary
#2125A6 #A65F21 #68A621
monochromatic
#0D0E40 #171A73 #2125A6 #2F34D6 #6265E0

Accessibility & contrast

On white

11.17
#2125A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2125A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2125A6#FFFFFF#000000##FFFFFF
##2125A61.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042AA
Deuteranopia (green-blind)
#0034A4
Tritanopia (blue-blind)
#004C64
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2125a6;
/* rgb */ color: rgb(33, 37, 166);
/* oklch */ color: oklch(37.2% 0.198 270.4);
Tailwind
colors: {
  custom: {
    50: '#7662c2',
    500: '#2125a6',
    950: '#000000',
  },
}
SCSS
$custom: #2125a6;
$custom-light: #7662c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2125a6",
  "rgb": {
    "r": 33,
    "g": 37,
    "b": 166
  },
  "hsl": {
    "h": 238.195,
    "s": 66.834,
    "l": 39.02
  },
  "oklch": {
    "l": 0.37182,
    "c": 0.19786,
    "h": 270.4
  },
  "luminance": 0.044
}

Semantic roles & 50–950 ramp

primary
#2125A6
secondary
#C5C25E
accent
#E53EEA
background
#F7F5FC
surface
#EEEAF8
border
#C9C6D1
text
#0A0513
muted
#7C7982

Preview Lab

Preview with #2125A6

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

Preview Lab → · Contrast checker → · Palette generator →

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