#253E97#253E97

#253E97 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.2% C 0.149 H 267.3°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#253E97
RGBrgb(37, 62, 151)
HSLhsl(227, 61%, 37%)
HSVhsv(227, 75%, 59%)
CMYKcmyk(75.5%, 58.9%, 0%, 40.8%)
CIE-LABlab(29.59, 23.23, -51.56)
CIE-LCHlch(29.59, 56.55, 294.25°)
OKLaboklab(40.18% -0.007 -0.1488)
OKLCHoklch(40.18% 0.149 267.3)
XYZxyz(8.0695, 6.0721, 30.0189)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253E97 #977E25
analogous
#257797 #253E97 #452597
triadic
#253E97 #97253E #3E9725
tetradic
#253E97 #972577 #977E25 #259745
square
#253E97 #972577 #977E25 #259745
split-complementary
#253E97 #974525 #779725
monochromatic
#0D1635 #192A66 #253E97 #3152C8 #5F79D8

Accessibility & contrast

On white

9.48
#253E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#253E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253E97
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253E97#FFFFFF#000000##FFFFFF
##253E971.009.482.219.48
#FFFFFF9.481.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #253e97;
/* rgb */ color: rgb(37, 62, 151);
/* oklch */ color: oklch(40.2% 0.149 267.3);
Tailwind
colors: {
  custom: {
    50: '#7172b6',
    500: '#253e97',
    950: '#000000',
  },
}
SCSS
$custom: #253e97;
$custom-light: #7172b6;
$custom-dark: #000000;
JSON
{
  "hex": "#253e97",
  "rgb": {
    "r": 37,
    "g": 62,
    "b": 151
  },
  "hsl": {
    "h": 226.842,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.40178,
    "c": 0.14894,
    "h": 267.3
  },
  "luminance": 0.06073
}

Semantic roles & 50–950 ramp

primary
#253E97
secondary
#BDA75B
accent
#C144E4
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #253E97

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

Preview Lab → · Contrast checker → · Palette generator →

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