#252BD4#252BD4

#252BD4 is a dark, highly saturated blue. Relative luminance 0.069; OKLCH L 43.4% C 0.245 H 268.9°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#252BD4
RGBrgb(37, 43, 212)
HSLhsl(238, 70%, 49%)
HSVhsv(238, 83%, 83%)
CMYKcmyk(82.5%, 79.7%, 0%, 16.9%)
CIE-LABlab(31.52, 56.11, -84.64)
CIE-LCHlch(31.52, 101.54, 303.54°)
OKLaboklab(43.38% -0.0046 -0.2451)
OKLCHoklch(43.38% 0.245 268.9)
XYZxyz(13.5064, 6.8729, 62.8893)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252BD4 #D4CE25
analogous
#2583D4 #252BD4 #7725D4
triadic
#252BD4 #D4252B #2BD425
tetradic
#252BD4 #D42583 #D4CE25 #25D477
square
#252BD4 #D42583 #D4CE25 #25D477
split-complementary
#252BD4 #D47725 #83D425
monochromatic
#13166C #1C20A0 #252BD4 #555AE1 #898CEA

Accessibility & contrast

On white

8.84
#252BD4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#252BD4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252BD4
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252BD4#FFFFFF#000000##FFFFFF
##252BD41.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053D9
Deuteranopia (green-blind)
#0041D1
Tritanopia (blue-blind)
#006080
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #252bd4;
/* rgb */ color: rgb(37, 43, 212);
/* oklch */ color: oklch(43.4% 0.245 268.9);
Tailwind
colors: {
  custom: {
    50: '#8268e3',
    500: '#252bd4',
    950: '#000000',
  },
}
SCSS
$custom: #252bd4;
$custom-light: #8268e3;
$custom-dark: #000000;
JSON
{
  "hex": "#252bd4",
  "rgb": {
    "r": 37,
    "g": 43,
    "b": 212
  },
  "hsl": {
    "h": 237.943,
    "s": 70.281,
    "l": 48.824
  },
  "oklch": {
    "l": 0.43377,
    "c": 0.24518,
    "h": 268.9
  },
  "luminance": 0.06875
}

Semantic roles & 50–950 ramp

primary
#252BD4
secondary
#D4D181
accent
#E73BED
background
#F9F6FE
surface
#F1EBFC
border
#CBC6D5
text
#0D0616
muted
#7E7A84

Preview Lab

Preview with #252BD4

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

Preview Lab → · Contrast checker → · Palette generator →

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