#252BBD#252BBD

#252BBD is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 40.8% C 0.219 H 269.9°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#252BBD
RGBrgb(37, 43, 189)
HSLhsl(238, 67%, 44%)
HSVhsv(238, 80%, 74%)
CMYKcmyk(80.4%, 77.2%, 0%, 25.9%)
CIE-LABlab(28.89, 48.77, -75.54)
CIE-LCHlch(28.89, 89.92, 302.84°)
OKLaboklab(40.77% -0.0006 -0.2188)
OKLCHoklch(40.77% 0.219 269.9)
XYZxyz(10.8090, 5.7939, 48.6829)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252BBD #BDB725
analogous
#2577BD #252BBD #6B25BD
triadic
#252BBD #BD252B #2BBD25
tetradic
#252BBD #BD2577 #BDB725 #25BD6B
square
#252BBD #BD2577 #BDB725 #25BD6B
split-complementary
#252BBD #BD6B25 #77BD25
monochromatic
#111457 #1B1F8A #252BBD #454BDB #787CE5

Accessibility & contrast

On white

9.73
#252BBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#252BBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252BBD
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252BBD#FFFFFF#000000##FFFFFF
##252BBD1.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CC1
Deuteranopia (green-blind)
#003CBA
Tritanopia (blue-blind)
#005773
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #252bbd;
/* rgb */ color: rgb(37, 43, 189);
/* oklch */ color: oklch(40.8% 0.219 269.9);
Tailwind
colors: {
  custom: {
    50: '#7c67d2',
    500: '#252bbd',
    950: '#000000',
  },
}
SCSS
$custom: #252bbd;
$custom-light: #7c67d2;
$custom-dark: #000000;
JSON
{
  "hex": "#252bbd",
  "rgb": {
    "r": 37,
    "g": 43,
    "b": 189
  },
  "hsl": {
    "h": 237.632,
    "s": 67.257,
    "l": 44.314
  },
  "oklch": {
    "l": 0.40772,
    "c": 0.21881,
    "h": 269.9
  },
  "luminance": 0.05795
}

Semantic roles & 50–950 ramp

primary
#252BBD
secondary
#CCC972
accent
#E33EEA
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #252BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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