#252A88#252A88

#252A88 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.0% C 0.153 H 273.0°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#252A88
RGBrgb(37, 42, 136)
HSLhsl(237, 57%, 34%)
HSVhsv(237, 73%, 53%)
CMYKcmyk(72.8%, 69.1%, 0%, 46.7%)
CIE-LABlab(23.09, 30.97, -52.93)
CIE-LCHlch(23.09, 61.32, 300.33°)
OKLaboklab(34.97% 0.0079 -0.153)
OKLCHoklch(34.97% 0.153 273)
XYZxyz(6.0334, 3.8262, 23.7084)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252A88 #888325
analogous
#255C88 #252A88 #522588
triadic
#252A88 #88252A #2A8825
tetradic
#252A88 #88255C #888325 #258852
square
#252A88 #88255C #888325 #258852
split-complementary
#252A88 #885225 #5C8825
monochromatic
#0B0C28 #181B58 #252A88 #3239B8 #565DD1

Accessibility & contrast

On white

11.90
#252A88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#252A88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252A88
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252A88#FFFFFF#000000##FFFFFF
##252A881.0011.901.7711.90
#FFFFFF11.901.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8B
Deuteranopia (green-blind)
#003286
Tritanopia (blue-blind)
#004355
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #252a88;
/* rgb */ color: rgb(37, 42, 136);
/* oklch */ color: oklch(35.0% 0.153 273.0);
Tailwind
colors: {
  custom: {
    50: '#6f64ac',
    500: '#252a88',
    950: '#000000',
  },
}
SCSS
$custom: #252a88;
$custom-light: #6f64ac;
$custom-dark: #000000;
JSON
{
  "hex": "#252a88",
  "rgb": {
    "r": 37,
    "g": 42,
    "b": 136
  },
  "hsl": {
    "h": 236.97,
    "s": 57.225,
    "l": 33.922
  },
  "oklch": {
    "l": 0.34969,
    "c": 0.15317,
    "h": 273
  },
  "luminance": 0.03827
}

Semantic roles & 50–950 ramp

primary
#252A88
secondary
#B6B153
accent
#D947E0
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #252A88

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

Preview Lab → · Contrast checker → · Palette generator →

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