#2125A0#2125A0

#2125A0 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.5% C 0.191 H 270.7°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#2125A0
RGBrgb(33, 37, 160)
HSLhsl(238, 66%, 38%)
HSVhsv(238, 79%, 63%)
CMYKcmyk(79.4%, 76.9%, 0%, 37.3%)
CIE-LABlab(24.27, 42.13, -65.80)
CIE-LCHlch(24.27, 78.13, 302.63°)
OKLaboklab(36.5% 0.0023 -0.1905)
OKLCHoklch(36.5% 0.191 270.7)
XYZxyz(7.6318, 4.1837, 33.6562)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2125A0 #A09C21
analogous
#2165A0 #2125A0 #5C21A0
triadic
#2125A0 #A02125 #25A021
tetradic
#2125A0 #A02165 #A09C21 #21A05C
square
#2125A0 #A02165 #A09C21 #21A05C
split-complementary
#2125A0 #A05C21 #65A021
monochromatic
#0C0E3B #17196D #2125A0 #2B31D3 #5E62DE

Accessibility & contrast

On white

11.43
#2125A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#2125A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2125A0#FFFFFF#000000##FFFFFF
##2125A01.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A4
Deuteranopia (green-blind)
#00339E
Tritanopia (blue-blind)
#004A61
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2125a0;
/* rgb */ color: rgb(33, 37, 160);
/* oklch */ color: oklch(36.5% 0.191 270.7);
Tailwind
colors: {
  custom: {
    50: '#7461bd',
    500: '#2125a0',
    950: '#000000',
  },
}
SCSS
$custom: #2125a0;
$custom-light: #7461bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2125a0",
  "rgb": {
    "r": 33,
    "g": 37,
    "b": 160
  },
  "hsl": {
    "h": 238.11,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.36504,
    "c": 0.19055,
    "h": 270.7
  },
  "luminance": 0.04185
}

Semantic roles & 50–950 ramp

primary
#2125A0
secondary
#C2BF5B
accent
#E33FE9
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2125A0

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

Preview Lab → · Contrast checker → · Palette generator →

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