#253D97#253D97

#253D97 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.0% C 0.150 H 267.6°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#253D97
RGBrgb(37, 61, 151)
HSLhsl(227, 61%, 37%)
HSVhsv(227, 75%, 59%)
CMYKcmyk(75.5%, 59.6%, 0%, 40.8%)
CIE-LABlab(29.32, 23.91, -52.00)
CIE-LCHlch(29.32, 57.24, 294.69°)
OKLaboklab(39.98% -0.0063 -0.1501)
OKLCHoklch(39.98% 0.15 267.6)
XYZxyz(8.0157, 5.9643, 30.0009)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253D97 #977F25
analogous
#257697 #253D97 #462597
triadic
#253D97 #97253D #3D9725
tetradic
#253D97 #972576 #977F25 #259746
square
#253D97 #972576 #977F25 #259746
split-complementary
#253D97 #974625 #769725
monochromatic
#0D1535 #192966 #253D97 #3151C8 #5F78D8

Accessibility & contrast

On white

9.58
#253D97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#253D97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253D97
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253D97#FFFFFF#000000##FFFFFF
##253D971.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9A
Deuteranopia (green-blind)
#004095
Tritanopia (blue-blind)
#005464
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #253d97;
/* rgb */ color: rgb(37, 61, 151);
/* oklch */ color: oklch(40.0% 0.150 267.6);
Tailwind
colors: {
  custom: {
    50: '#7172b6',
    500: '#253d97',
    950: '#000000',
  },
}
SCSS
$custom: #253d97;
$custom-light: #7172b6;
$custom-dark: #000000;
JSON
{
  "hex": "#253d97",
  "rgb": {
    "r": 37,
    "g": 61,
    "b": 151
  },
  "hsl": {
    "h": 227.368,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.39975,
    "c": 0.15021,
    "h": 267.6
  },
  "luminance": 0.05965
}

Semantic roles & 50–950 ramp

primary
#253D97
secondary
#BDA85B
accent
#C244E4
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #253D97

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

Preview Lab → · Contrast checker → · Palette generator →

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