#252E88#252E88

#252E88 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.7% C 0.148 H 272.0°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#252E88
RGBrgb(37, 46, 136)
HSLhsl(235, 57%, 34%)
HSVhsv(235, 73%, 53%)
CMYKcmyk(72.8%, 66.2%, 0%, 46.7%)
CIE-LABlab(24.08, 28.33, -51.31)
CIE-LCHlch(24.08, 58.61, 298.91°)
OKLaboklab(35.69% 0.0051 -0.1482)
OKLCHoklch(35.69% 0.148 272)
XYZxyz(6.1824, 4.1243, 23.7580)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252E88 #887F25
analogous
#256088 #252E88 #4E2588
triadic
#252E88 #88252E #2E8825
tetradic
#252E88 #882560 #887F25 #25884E
square
#252E88 #882560 #887F25 #25884E
split-complementary
#252E88 #884E25 #608825
monochromatic
#0B0D28 #181E58 #252E88 #323EB8 #5661D1

Accessibility & contrast

On white

11.51
#252E88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#252E88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252E88
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252E88#FFFFFF#000000##FFFFFF
##252E881.0011.511.8311.51
#FFFFFF11.511.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8B
Deuteranopia (green-blind)
#003586
Tritanopia (blue-blind)
#004556
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #252e88;
/* rgb */ color: rgb(37, 46, 136);
/* oklch */ color: oklch(35.7% 0.148 272.0);
Tailwind
colors: {
  custom: {
    50: '#6e67ac',
    500: '#252e88',
    950: '#000000',
  },
}
SCSS
$custom: #252e88;
$custom-light: #6e67ac;
$custom-dark: #000000;
JSON
{
  "hex": "#252e88",
  "rgb": {
    "r": 37,
    "g": 46,
    "b": 136
  },
  "hsl": {
    "h": 234.545,
    "s": 57.225,
    "l": 33.922
  },
  "oklch": {
    "l": 0.3569,
    "c": 0.14829,
    "h": 272
  },
  "luminance": 0.04125
}

Semantic roles & 50–950 ramp

primary
#252E88
secondary
#B6AD53
accent
#D347E0
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #252E88

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

Preview Lab → · Contrast checker → · Palette generator →

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