#252D92#252D92

#252D92 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.5% C 0.163 H 271.7°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#252D92
RGBrgb(37, 45, 146)
HSLhsl(236, 60%, 36%)
HSVhsv(236, 75%, 57%)
CMYKcmyk(74.7%, 69.2%, 0%, 42.7%)
CIE-LABlab(24.78, 32.68, -56.36)
CIE-LCHlch(24.78, 65.15, 300.11°)
OKLaboklab(36.49% 0.0049 -0.163)
OKLCHoklch(36.49% 0.163 271.7)
XYZxyz(6.8879, 4.3447, 27.6642)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252D92 #928A25
analogous
#256392 #252D92 #532592
triadic
#252D92 #92252D #2D9225
tetradic
#252D92 #922563 #928A25 #259253
square
#252D92 #922563 #928A25 #259253
split-complementary
#252D92 #925325 #639225
monochromatic
#0C0F30 #191E61 #252D92 #313CC3 #5C65D6

Accessibility & contrast

On white

11.24
#252D92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#252D92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252D92
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252D92#FFFFFF#000000##FFFFFF
##252D921.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004095
Deuteranopia (green-blind)
#003690
Tritanopia (blue-blind)
#00485B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #252d92;
/* rgb */ color: rgb(37, 45, 146);
/* oklch */ color: oklch(36.5% 0.163 271.7);
Tailwind
colors: {
  custom: {
    50: '#7166b3',
    500: '#252d92',
    950: '#000000',
  },
}
SCSS
$custom: #252d92;
$custom-light: #7166b3;
$custom-dark: #000000;
JSON
{
  "hex": "#252d92",
  "rgb": {
    "r": 37,
    "g": 45,
    "b": 146
  },
  "hsl": {
    "h": 235.596,
    "s": 59.563,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36491,
    "c": 0.16308,
    "h": 271.7
  },
  "luminance": 0.04345
}

Semantic roles & 50–950 ramp

primary
#252D92
secondary
#BAB358
accent
#D745E3
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #252D92

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

Preview Lab → · Contrast checker → · Palette generator →

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