#2125BD#2125BD

#2125BD is a dark, highly saturated blue. Relative luminance 0.053; OKLCH L 39.8% C 0.225 H 269.2°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#2125BD
RGBrgb(33, 37, 189)
HSLhsl(238, 70%, 44%)
HSVhsv(238, 83%, 74%)
CMYKcmyk(82.5%, 80.4%, 0%, 25.9%)
CIE-LABlab(27.63, 51.65, -77.64)
CIE-LCHlch(27.63, 93.25, 303.63°)
OKLaboklab(39.84% -0.0031 -0.2249)
OKLCHoklch(39.84% 0.225 269.2)
XYZxyz(10.4709, 5.3193, 48.6091)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2125BD #BDB921
analogous
#2173BD #2125BD #6B21BD
triadic
#2125BD #BD2125 #25BD21
tetradic
#2125BD #BD2173 #BDB921 #21BD6B
square
#2125BD #BD2173 #BDB921 #21BD6B
split-complementary
#2125BD #BD6B21 #73BD21
monochromatic
#0F1155 #181B89 #2125BD #3E42DD #7275E6

Accessibility & contrast

On white

10.17
#2125BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2125BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2125BD
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2125BD#FFFFFF#000000##FFFFFF
##2125BD1.0010.172.0610.17
#FFFFFF10.171.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049C1
Deuteranopia (green-blind)
#0039BA
Tritanopia (blue-blind)
#005572
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2125bd;
/* rgb */ color: rgb(33, 37, 189);
/* oklch */ color: oklch(39.8% 0.225 269.2);
Tailwind
colors: {
  custom: {
    50: '#7c63d2',
    500: '#2125bd',
    950: '#000000',
  },
}
SCSS
$custom: #2125bd;
$custom-light: #7c63d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2125bd",
  "rgb": {
    "r": 33,
    "g": 37,
    "b": 189
  },
  "hsl": {
    "h": 238.462,
    "s": 70.27,
    "l": 43.529
  },
  "oklch": {
    "l": 0.39836,
    "c": 0.22488,
    "h": 269.2
  },
  "luminance": 0.05321
}

Semantic roles & 50–950 ramp

primary
#2125BD
secondary
#CDCB6D
accent
#E83BED
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0514
muted
#7D7A83

Preview Lab

Preview with #2125BD

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

Preview Lab → · Contrast checker → · Palette generator →

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