#252DB1#252DB1

#252DB1 is a dark, highly saturated blue. Relative luminance 0.054; OKLCH L 39.7% C 0.203 H 270.2°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#252DB1
RGBrgb(37, 45, 177)
HSLhsl(237, 65%, 42%)
HSVhsv(237, 79%, 69%)
CMYKcmyk(79.1%, 74.6%, 0%, 30.6%)
CIE-LABlab(27.96, 43.64, -69.94)
CIE-LCHlch(27.96, 82.44, 301.96°)
OKLaboklab(39.73% 0.0008 -0.2026)
OKLCHoklch(39.73% 0.203 270.2)
XYZxyz(9.6344, 5.4433, 42.1293)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252DB1 #B1A925
analogous
#2573B1 #252DB1 #6325B1
triadic
#252DB1 #B1252D #2DB125
tetradic
#252DB1 #B12573 #B1A925 #25B163
square
#252DB1 #B12573 #B1A925 #25B163
split-complementary
#252DB1 #B16325 #73B125
monochromatic
#10134C #1A207E #252DB1 #3D46D6 #6F76E1

Accessibility & contrast

On white

10.05
#252DB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#252DB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252DB1
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252DB1#FFFFFF#000000##FFFFFF
##252DB11.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B5
Deuteranopia (green-blind)
#003BAF
Tritanopia (blue-blind)
#00546D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #252db1;
/* rgb */ color: rgb(37, 45, 177);
/* oklch */ color: oklch(39.7% 0.203 270.2);
Tailwind
colors: {
  custom: {
    50: '#7967ca',
    500: '#252db1',
    950: '#000000',
  },
}
SCSS
$custom: #252db1;
$custom-light: #7967ca;
$custom-dark: #000000;
JSON
{
  "hex": "#252db1",
  "rgb": {
    "r": 37,
    "g": 45,
    "b": 177
  },
  "hsl": {
    "h": 236.571,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.3973,
    "c": 0.20257,
    "h": 270.2
  },
  "luminance": 0.05444
}

Semantic roles & 50–950 ramp

primary
#252DB1
secondary
#C8C26A
accent
#DF3FE8
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #252DB1

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

Preview Lab → · Contrast checker → · Palette generator →

#252DB1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva