#252B95#252B95

#252B95 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.5% C 0.169 H 271.9°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#252B95
RGBrgb(37, 43, 149)
HSLhsl(237, 60%, 36%)
HSVhsv(237, 75%, 58%)
CMYKcmyk(75.2%, 71.1%, 0%, 41.6%)
CIE-LABlab(24.61, 35.04, -58.49)
CIE-LCHlch(24.61, 68.19, 300.92°)
OKLaboklab(36.46% 0.0057 -0.1692)
OKLCHoklch(36.46% 0.169 271.9)
XYZxyz(7.0498, 4.2903, 28.8845)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252B95 #958F25
analogous
#256395 #252B95 #572595
triadic
#252B95 #95252B #2B9525
tetradic
#252B95 #952563 #958F25 #259557
square
#252B95 #952563 #958F25 #259557
split-complementary
#252B95 #955725 #639525
monochromatic
#0D0F33 #191D64 #252B95 #3139C6 #5E64D7

Accessibility & contrast

On white

11.30
#252B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#252B95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252B95
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252B95#FFFFFF#000000##FFFFFF
##252B951.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004098
Deuteranopia (green-blind)
#003593
Tritanopia (blue-blind)
#00485C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #252b95;
/* rgb */ color: rgb(37, 43, 149);
/* oklch */ color: oklch(36.5% 0.169 271.9);
Tailwind
colors: {
  custom: {
    50: '#7265b5',
    500: '#252b95',
    950: '#000000',
  },
}
SCSS
$custom: #252b95;
$custom-light: #7265b5;
$custom-dark: #000000;
JSON
{
  "hex": "#252b95",
  "rgb": {
    "r": 37,
    "g": 43,
    "b": 149
  },
  "hsl": {
    "h": 236.786,
    "s": 60.215,
    "l": 36.471
  },
  "oklch": {
    "l": 0.36458,
    "c": 0.16933,
    "h": 271.9
  },
  "luminance": 0.04291
}

Semantic roles & 50–950 ramp

primary
#252B95
secondary
#BCB75A
accent
#DB44E3
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #252B95

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

Preview Lab → · Contrast checker → · Palette generator →

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