#252D9A#252D9A

#252D9A is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.3% C 0.174 H 271.3°. Best body text is #FFFFFF at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#252D9A
RGBrgb(37, 45, 154)
HSLhsl(236, 61%, 37%)
HSVhsv(236, 76%, 60%)
CMYKcmyk(76%, 70.8%, 0%, 39.6%)
CIE-LABlab(25.57, 35.58, -59.98)
CIE-LCHlch(25.57, 69.74, 300.68°)
OKLaboklab(37.3% 0.004 -0.1736)
OKLCHoklch(37.3% 0.174 271.3)
XYZxyz(7.5321, 4.6024, 31.0570)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252D9A #9A9225
analogous
#25689A #252D9A #57259A
triadic
#252D9A #9A252D #2D9A25
tetradic
#252D9A #9A2568 #9A9225 #259A57
square
#252D9A #9A2568 #9A9225 #259A57
split-complementary
#252D9A #9A5725 #689A25
monochromatic
#0D1037 #191F69 #252D9A #313BCB #6069D9

Accessibility & contrast

On white

10.93
#252D9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#252D9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252D9A
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252D9A#FFFFFF#000000##FFFFFF
##252D9A1.0010.931.9210.93
#FFFFFF10.931.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429D
Deuteranopia (green-blind)
#003798
Tritanopia (blue-blind)
#004B60
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #252d9a;
/* rgb */ color: rgb(37, 45, 154);
/* oklch */ color: oklch(37.3% 0.174 271.3);
Tailwind
colors: {
  custom: {
    50: '#7366b9',
    500: '#252d9a',
    950: '#000000',
  },
}
SCSS
$custom: #252d9a;
$custom-light: #7366b9;
$custom-dark: #000000;
JSON
{
  "hex": "#252d9a",
  "rgb": {
    "r": 37,
    "g": 45,
    "b": 154
  },
  "hsl": {
    "h": 235.897,
    "s": 61.257,
    "l": 37.451
  },
  "oklch": {
    "l": 0.37303,
    "c": 0.17362,
    "h": 271.3
  },
  "luminance": 0.04603
}

Semantic roles & 50–950 ramp

primary
#252D9A
secondary
#BEB75D
accent
#D943E4
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #252D9A

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

Preview Lab → · Contrast checker → · Palette generator →

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