#252D94#252D94

#252D94 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.7% C 0.166 H 271.6°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#252D94
RGBrgb(37, 45, 148)
HSLhsl(236, 60%, 36%)
HSVhsv(236, 75%, 58%)
CMYKcmyk(75%, 69.6%, 0%, 42%)
CIE-LABlab(24.98, 33.41, -57.27)
CIE-LCHlch(24.98, 66.31, 300.26°)
OKLaboklab(36.69% 0.0047 -0.1657)
OKLCHoklch(36.69% 0.166 271.6)
XYZxyz(7.0448, 4.4075, 28.4907)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252D94 #948C25
analogous
#256594 #252D94 #552594
triadic
#252D94 #94252D #2D9425
tetradic
#252D94 #942565 #948C25 #259455
square
#252D94 #942565 #948C25 #259455
split-complementary
#252D94 #945525 #659425
monochromatic
#0D0F32 #191E63 #252D94 #313CC5 #5D66D6

Accessibility & contrast

On white

11.16
#252D94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#252D94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252D94
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252D94#FFFFFF#000000##FFFFFF
##252D941.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004197
Deuteranopia (green-blind)
#003692
Tritanopia (blue-blind)
#00495C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #252d94;
/* rgb */ color: rgb(37, 45, 148);
/* oklch */ color: oklch(36.7% 0.166 271.6);
Tailwind
colors: {
  custom: {
    50: '#7266b4',
    500: '#252d94',
    950: '#000000',
  },
}
SCSS
$custom: #252d94;
$custom-light: #7266b4;
$custom-dark: #000000;
JSON
{
  "hex": "#252d94",
  "rgb": {
    "r": 37,
    "g": 45,
    "b": 148
  },
  "hsl": {
    "h": 235.676,
    "s": 60,
    "l": 36.275
  },
  "oklch": {
    "l": 0.36693,
    "c": 0.16574,
    "h": 271.6
  },
  "luminance": 0.04408
}

Semantic roles & 50–950 ramp

primary
#252D94
secondary
#BBB459
accent
#D845E3
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #252D94

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

Preview Lab → · Contrast checker → · Palette generator →

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