#253597#253597

#253597 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.4% C 0.160 H 269.8°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#253597
RGBrgb(37, 53, 151)
HSLhsl(232, 61%, 37%)
HSVhsv(232, 75%, 59%)
CMYKcmyk(75.5%, 64.9%, 0%, 40.8%)
CIE-LABlab(27.22, 29.29, -55.43)
CIE-LCHlch(27.22, 62.70, 297.86°)
OKLaboklab(38.42% -0.0006 -0.1602)
OKLCHoklch(38.42% 0.16 269.8)
XYZxyz(7.6201, 5.1731, 29.8691)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253597 #978725
analogous
#256E97 #253597 #4E2597
triadic
#253597 #972535 #359725
tetradic
#253597 #97256E #978725 #25974E
square
#253597 #97256E #978725 #25974E
split-complementary
#253597 #974E25 #6E9725
monochromatic
#0D1235 #192466 #253597 #3146C8 #5F70D8

Accessibility & contrast

On white

10.32
#253597 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#253597 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253597
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253597#FFFFFF#000000##FFFFFF
##2535971.0010.322.0310.32
#FFFFFF10.321.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469A
Deuteranopia (green-blind)
#003B95
Tritanopia (blue-blind)
#004F61
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #253597;
/* rgb */ color: rgb(37, 53, 151);
/* oklch */ color: oklch(38.4% 0.160 269.8);
Tailwind
colors: {
  custom: {
    50: '#726cb6',
    500: '#253597',
    950: '#000000',
  },
}
SCSS
$custom: #253597;
$custom-light: #726cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#253597",
  "rgb": {
    "r": 37,
    "g": 53,
    "b": 151
  },
  "hsl": {
    "h": 231.579,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.38419,
    "c": 0.16024,
    "h": 269.8
  },
  "luminance": 0.05174
}

Semantic roles & 50–950 ramp

primary
#253597
secondary
#BDAF5B
accent
#CD44E4
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #253597

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

Preview Lab → · Contrast checker → · Palette generator →

#253597 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva