#252D90#252D90

#252D90 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.3% C 0.160 H 271.8°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#252D90
RGBrgb(37, 45, 144)
HSLhsl(236, 59%, 35%)
HSVhsv(236, 74%, 56%)
CMYKcmyk(74.3%, 68.7%, 0%, 43.5%)
CIE-LABlab(24.59, 31.95, -55.45)
CIE-LCHlch(24.59, 63.99, 299.95°)
OKLaboklab(36.29% 0.0051 -0.1603)
OKLCHoklch(36.29% 0.16 271.8)
XYZxyz(6.7337, 4.2830, 26.8520)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252D90 #908825
analogous
#256290 #252D90 #522590
triadic
#252D90 #90252D #2D9025
tetradic
#252D90 #902562 #908825 #259052
square
#252D90 #902562 #908825 #259052
split-complementary
#252D90 #905225 #629025
monochromatic
#0C0F2F #181E5F #252D90 #323CC1 #5B64D5

Accessibility & contrast

On white

11.31
#252D90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#252D90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252D90
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252D90#FFFFFF#000000##FFFFFF
##252D901.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F93
Deuteranopia (green-blind)
#00358E
Tritanopia (blue-blind)
#00485A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #252d90;
/* rgb */ color: rgb(37, 45, 144);
/* oklch */ color: oklch(36.3% 0.160 271.8);
Tailwind
colors: {
  custom: {
    50: '#7166b1',
    500: '#252d90',
    950: '#000000',
  },
}
SCSS
$custom: #252d90;
$custom-light: #7166b1;
$custom-dark: #000000;
JSON
{
  "hex": "#252d90",
  "rgb": {
    "r": 37,
    "g": 45,
    "b": 144
  },
  "hsl": {
    "h": 235.514,
    "s": 59.116,
    "l": 35.49
  },
  "oklch": {
    "l": 0.36292,
    "c": 0.16041,
    "h": 271.8
  },
  "luminance": 0.04284
}

Semantic roles & 50–950 ramp

primary
#252D90
secondary
#B9B257
accent
#D745E2
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #252D90

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

Preview Lab → · Contrast checker → · Palette generator →

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