#252D88#252D88

#252D88 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.5% C 0.150 H 272.2°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#252D88
RGBrgb(37, 45, 136)
HSLhsl(235, 57%, 34%)
HSVhsv(235, 73%, 53%)
CMYKcmyk(72.8%, 66.9%, 0%, 46.7%)
CIE-LABlab(23.83, 29.00, -51.72)
CIE-LCHlch(23.83, 59.29, 299.28°)
OKLaboklab(35.51% 0.0058 -0.1494)
OKLCHoklch(35.51% 0.15 272.2)
XYZxyz(6.1438, 4.0471, 23.7452)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252D88 #888025
analogous
#255F88 #252D88 #4F2588
triadic
#252D88 #88252D #2D8825
tetradic
#252D88 #88255F #888025 #25884F
square
#252D88 #88255F #888025 #25884F
split-complementary
#252D88 #884F25 #5F8825
monochromatic
#0B0D28 #181D58 #252D88 #323DB8 #5660D1

Accessibility & contrast

On white

11.60
#252D88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#252D88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252D88
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252D88#FFFFFF#000000##FFFFFF
##252D881.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #252d88;
/* rgb */ color: rgb(37, 45, 136);
/* oklch */ color: oklch(35.5% 0.150 272.2);
Tailwind
colors: {
  custom: {
    50: '#6f66ac',
    500: '#252d88',
    950: '#000000',
  },
}
SCSS
$custom: #252d88;
$custom-light: #6f66ac;
$custom-dark: #000000;
JSON
{
  "hex": "#252d88",
  "rgb": {
    "r": 37,
    "g": 45,
    "b": 136
  },
  "hsl": {
    "h": 235.152,
    "s": 57.225,
    "l": 33.922
  },
  "oklch": {
    "l": 0.35506,
    "c": 0.14953,
    "h": 272.2
  },
  "luminance": 0.04048
}

Semantic roles & 50–950 ramp

primary
#252D88
secondary
#B6AE53
accent
#D447E0
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #252D88

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

Preview Lab → · Contrast checker → · Palette generator →

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