#252EBD#252EBD

#252EBD is a dark, highly saturated blue. Relative luminance 0.060; OKLCH L 41.2% C 0.216 H 269.6°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#252EBD
RGBrgb(37, 46, 189)
HSLhsl(236, 67%, 44%)
HSVhsv(236, 80%, 74%)
CMYKcmyk(80.4%, 75.7%, 0%, 25.9%)
CIE-LABlab(29.46, 47.12, -74.59)
CIE-LCHlch(29.46, 88.23, 302.28°)
OKLaboklab(41.18% -0.0015 -0.2161)
OKLCHoklch(41.18% 0.216 269.6)
XYZxyz(10.9221, 6.0202, 48.7206)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252EBD #BDB425
analogous
#257ABD #252EBD #6825BD
triadic
#252EBD #BD252E #2EBD25
tetradic
#252EBD #BD257A #BDB425 #25BD68
square
#252EBD #BD257A #BDB425 #25BD68
split-complementary
#252EBD #BD6825 #7ABD25
monochromatic
#111557 #1B228A #252EBD #454EDB #787EE5

Accessibility & contrast

On white

9.53
#252EBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#252EBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252EBD
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252EBD#FFFFFF#000000##FFFFFF
##252EBD1.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DC1
Deuteranopia (green-blind)
#003EBB
Tritanopia (blue-blind)
#005974
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #252ebd;
/* rgb */ color: rgb(37, 46, 189);
/* oklch */ color: oklch(41.2% 0.216 269.6);
Tailwind
colors: {
  custom: {
    50: '#7c69d2',
    500: '#252ebd',
    950: '#000000',
  },
}
SCSS
$custom: #252ebd;
$custom-light: #7c69d2;
$custom-dark: #000000;
JSON
{
  "hex": "#252ebd",
  "rgb": {
    "r": 37,
    "g": 46,
    "b": 189
  },
  "hsl": {
    "h": 236.447,
    "s": 67.257,
    "l": 44.314
  },
  "oklch": {
    "l": 0.41179,
    "c": 0.21609,
    "h": 269.6
  },
  "luminance": 0.06021
}

Semantic roles & 50–950 ramp

primary
#252EBD
secondary
#CCC772
accent
#E03EEA
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #252EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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