#253997#253997

#253997 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.2% C 0.155 H 268.8°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#253997
RGBrgb(37, 57, 151)
HSLhsl(229, 61%, 37%)
HSVhsv(229, 75%, 59%)
CMYKcmyk(75.5%, 62.3%, 0%, 40.8%)
CIE-LABlab(28.26, 26.62, -53.74)
CIE-LCHlch(28.26, 59.97, 296.35°)
OKLaboklab(39.18% -0.0034 -0.1552)
OKLCHoklch(39.18% 0.155 268.8)
XYZxyz(7.8101, 5.5531, 29.9324)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253997 #978325
analogous
#257297 #253997 #4A2597
triadic
#253997 #972539 #399725
tetradic
#253997 #972572 #978325 #25974A
square
#253997 #972572 #978325 #25974A
split-complementary
#253997 #974A25 #729725
monochromatic
#0D1435 #192666 #253997 #314CC8 #5F74D8

Accessibility & contrast

On white

9.95
#253997 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#253997 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253997
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253997#FFFFFF#000000##FFFFFF
##2539971.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489A
Deuteranopia (green-blind)
#003D95
Tritanopia (blue-blind)
#005162
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #253997;
/* rgb */ color: rgb(37, 57, 151);
/* oklch */ color: oklch(39.2% 0.155 268.8);
Tailwind
colors: {
  custom: {
    50: '#716fb6',
    500: '#253997',
    950: '#000000',
  },
}
SCSS
$custom: #253997;
$custom-light: #716fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#253997",
  "rgb": {
    "r": 37,
    "g": 57,
    "b": 151
  },
  "hsl": {
    "h": 229.474,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.39182,
    "c": 0.15528,
    "h": 268.8
  },
  "luminance": 0.05554
}

Semantic roles & 50–950 ramp

primary
#253997
secondary
#BDAC5B
accent
#C844E4
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #253997

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

Preview Lab → · Contrast checker → · Palette generator →

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