#252B97#252B97

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

Color values

HEX#252B97
RGBrgb(37, 43, 151)
HSLhsl(237, 61%, 37%)
HSVhsv(237, 75%, 59%)
CMYKcmyk(75.5%, 71.5%, 0%, 40.8%)
CIE-LABlab(24.81, 35.76, -59.39)
CIE-LCHlch(24.81, 69.32, 301.05°)
OKLaboklab(36.67% 0.0055 -0.1718)
OKLCHoklch(36.67% 0.172 271.8)
XYZxyz(7.2109, 4.3547, 29.7327)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252B97 #979125
analogous
#256497 #252B97 #582597
triadic
#252B97 #97252B #2B9725
tetradic
#252B97 #972564 #979125 #259758
square
#252B97 #972564 #979125 #259758
split-complementary
#252B97 #975825 #649725
monochromatic
#0D0F35 #191D66 #252B97 #3139C8 #5F65D8

Accessibility & contrast

On white

11.22
#252B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #252B97
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252B97#FFFFFF#000000##FFFFFF
##252B971.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409A
Deuteranopia (green-blind)
#003595
Tritanopia (blue-blind)
#00495E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #252b97;
/* rgb */ color: rgb(37, 43, 151);
/* oklch */ color: oklch(36.7% 0.172 271.8);
Tailwind
colors: {
  custom: {
    50: '#7265b7',
    500: '#252b97',
    950: '#000000',
  },
}
SCSS
$custom: #252b97;
$custom-light: #7265b7;
$custom-dark: #000000;
JSON
{
  "hex": "#252b97",
  "rgb": {
    "r": 37,
    "g": 43,
    "b": 151
  },
  "hsl": {
    "h": 236.842,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36665,
    "c": 0.17194,
    "h": 271.8
  },
  "luminance": 0.04355
}

Semantic roles & 50–950 ramp

primary
#252B97
secondary
#BDB85B
accent
#DB44E4
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #252B97

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

Preview Lab → · Contrast checker → · Palette generator →

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