#252DBD#252DBD

#252DBD is a dark, highly saturated blue. Relative luminance 0.059; OKLCH L 41.0% C 0.217 H 269.7°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#252DBD
RGBrgb(37, 45, 189)
HSLhsl(237, 67%, 44%)
HSVhsv(237, 80%, 74%)
CMYKcmyk(80.4%, 76.2%, 0%, 25.9%)
CIE-LABlab(29.27, 47.68, -74.91)
CIE-LCHlch(29.27, 88.80, 302.48°)
OKLaboklab(41.04% -0.0012 -0.217)
OKLCHoklch(41.04% 0.217 269.7)
XYZxyz(10.8835, 5.9429, 48.7077)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252DBD #BDB525
analogous
#2579BD #252DBD #6925BD
triadic
#252DBD #BD252D #2DBD25
tetradic
#252DBD #BD2579 #BDB525 #25BD69
square
#252DBD #BD2579 #BDB525 #25BD69
split-complementary
#252DBD #BD6925 #79BD25
monochromatic
#111557 #1B218A #252DBD #454DDB #787EE5

Accessibility & contrast

On white

9.59
#252DBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#252DBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252DBD
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252DBD#FFFFFF#000000##FFFFFF
##252DBD1.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #252dbd;
/* rgb */ color: rgb(37, 45, 189);
/* oklch */ color: oklch(41.0% 0.217 269.7);
Tailwind
colors: {
  custom: {
    50: '#7c68d2',
    500: '#252dbd',
    950: '#000000',
  },
}
SCSS
$custom: #252dbd;
$custom-light: #7c68d2;
$custom-dark: #000000;
JSON
{
  "hex": "#252dbd",
  "rgb": {
    "r": 37,
    "g": 45,
    "b": 189
  },
  "hsl": {
    "h": 236.842,
    "s": 67.257,
    "l": 44.314
  },
  "oklch": {
    "l": 0.41041,
    "c": 0.217,
    "h": 269.7
  },
  "luminance": 0.05944
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #252DBD

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

Preview Lab → · Contrast checker → · Palette generator →

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