#253B97#253B97

#253B97 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.6% C 0.153 H 268.2°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#253B97
RGBrgb(37, 59, 151)
HSLhsl(228, 61%, 37%)
HSVhsv(228, 75%, 59%)
CMYKcmyk(75.5%, 60.9%, 0%, 40.8%)
CIE-LABlab(28.79, 25.27, -52.88)
CIE-LCHlch(28.79, 58.60, 295.54°)
OKLaboklab(39.57% -0.0048 -0.1527)
OKLCHoklch(39.57% 0.153 268.2)
XYZxyz(7.9109, 5.7548, 29.9660)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253B97 #978125
analogous
#257497 #253B97 #482597
triadic
#253B97 #97253B #3B9725
tetradic
#253B97 #972574 #978125 #259748
square
#253B97 #972574 #978125 #259748
split-complementary
#253B97 #974825 #749725
monochromatic
#0D1535 #192866 #253B97 #314EC8 #5F76D8

Accessibility & contrast

On white

9.76
#253B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#253B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253B97
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253B97#FFFFFF#000000##FFFFFF
##253B971.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499A
Deuteranopia (green-blind)
#003F95
Tritanopia (blue-blind)
#005263
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #253b97;
/* rgb */ color: rgb(37, 59, 151);
/* oklch */ color: oklch(39.6% 0.153 268.2);
Tailwind
colors: {
  custom: {
    50: '#7170b6',
    500: '#253b97',
    950: '#000000',
  },
}
SCSS
$custom: #253b97;
$custom-light: #7170b6;
$custom-dark: #000000;
JSON
{
  "hex": "#253b97",
  "rgb": {
    "r": 37,
    "g": 59,
    "b": 151
  },
  "hsl": {
    "h": 228.421,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.39575,
    "c": 0.15276,
    "h": 268.2
  },
  "luminance": 0.05756
}

Semantic roles & 50–950 ramp

primary
#253B97
secondary
#BDAA5B
accent
#C544E4
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #253B97

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

Preview Lab → · Contrast checker → · Palette generator →

#253B97 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva