#252DB0#252DB0

#252DB0 is a dark, highly saturated blue. Relative luminance 0.054; OKLCH L 39.6% C 0.201 H 270.3°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#252DB0
RGBrgb(37, 45, 176)
HSLhsl(237, 65%, 42%)
HSVhsv(237, 79%, 69%)
CMYKcmyk(79%, 74.4%, 0%, 31%)
CIE-LABlab(27.86, 43.30, -69.52)
CIE-LCHlch(27.86, 81.90, 301.91°)
OKLaboklab(39.62% 0.0009 -0.2013)
OKLCHoklch(39.62% 0.201 270.3)
XYZxyz(9.5351, 5.4036, 41.6063)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252DB0 #B0A825
analogous
#2573B0 #252DB0 #6325B0
triadic
#252DB0 #B0252D #2DB025
tetradic
#252DB0 #B02573 #B0A825 #25B063
square
#252DB0 #B02573 #B0A825 #25B063
split-complementary
#252DB0 #B06325 #73B025
monochromatic
#10134B #1A207D #252DB0 #3C45D6 #6F75E1

Accessibility & contrast

On white

10.09
#252DB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#252DB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252DB0
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252DB0#FFFFFF#000000##FFFFFF
##252DB01.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B4
Deuteranopia (green-blind)
#003BAE
Tritanopia (blue-blind)
#00536C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #252db0;
/* rgb */ color: rgb(37, 45, 176);
/* oklch */ color: oklch(39.6% 0.201 270.3);
Tailwind
colors: {
  custom: {
    50: '#7967c9',
    500: '#252db0',
    950: '#000000',
  },
}
SCSS
$custom: #252db0;
$custom-light: #7967c9;
$custom-dark: #000000;
JSON
{
  "hex": "#252db0",
  "rgb": {
    "r": 37,
    "g": 45,
    "b": 176
  },
  "hsl": {
    "h": 236.547,
    "s": 65.258,
    "l": 41.765
  },
  "oklch": {
    "l": 0.39622,
    "c": 0.20135,
    "h": 270.3
  },
  "luminance": 0.05405
}

Semantic roles & 50–950 ramp

primary
#252DB0
secondary
#C7C26A
accent
#DF40E8
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #252DB0

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

Preview Lab → · Contrast checker → · Palette generator →

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