#252B88#252B88

#252B88 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.1% C 0.152 H 272.7°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#252B88
RGBrgb(37, 43, 136)
HSLhsl(236, 57%, 34%)
HSVhsv(236, 73%, 53%)
CMYKcmyk(72.8%, 68.4%, 0%, 46.7%)
CIE-LABlab(23.33, 30.32, -52.53)
CIE-LCHlch(23.33, 60.65, 299.99°)
OKLaboklab(35.14% 0.0072 -0.1518)
OKLCHoklch(35.14% 0.152 272.7)
XYZxyz(6.0693, 3.8980, 23.7203)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252B88 #888225
analogous
#255D88 #252B88 #512588
triadic
#252B88 #88252B #2B8825
tetradic
#252B88 #88255D #888225 #258851
square
#252B88 #88255D #888225 #258851
split-complementary
#252B88 #885125 #5D8825
monochromatic
#0B0D28 #181C58 #252B88 #323AB8 #565ED1

Accessibility & contrast

On white

11.80
#252B88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#252B88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252B88
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252B88#FFFFFF#000000##FFFFFF
##252B881.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8B
Deuteranopia (green-blind)
#003386
Tritanopia (blue-blind)
#004455
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #252b88;
/* rgb */ color: rgb(37, 43, 136);
/* oklch */ color: oklch(35.1% 0.152 272.7);
Tailwind
colors: {
  custom: {
    50: '#6f64ac',
    500: '#252b88',
    950: '#000000',
  },
}
SCSS
$custom: #252b88;
$custom-light: #6f64ac;
$custom-dark: #000000;
JSON
{
  "hex": "#252b88",
  "rgb": {
    "r": 37,
    "g": 43,
    "b": 136
  },
  "hsl": {
    "h": 236.364,
    "s": 57.225,
    "l": 33.922
  },
  "oklch": {
    "l": 0.35145,
    "c": 0.15197,
    "h": 272.7
  },
  "luminance": 0.03899
}

Semantic roles & 50–950 ramp

primary
#252B88
secondary
#B6B053
accent
#D747E0
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #252B88

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

Preview Lab → · Contrast checker → · Palette generator →

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