#253C91#253C91

#253C91 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.3% C 0.143 H 267.7°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#253C91
RGBrgb(37, 60, 145)
HSLhsl(227, 59%, 36%)
HSVhsv(227, 74%, 57%)
CMYKcmyk(74.5%, 58.6%, 0%, 43.1%)
CIE-LABlab(28.56, 22.27, -49.57)
CIE-LCHlch(28.56, 54.34, 294.20°)
OKLaboklab(39.25% -0.0057 -0.1429)
OKLCHoklch(39.25% 0.143 267.7)
XYZxyz(7.4879, 5.6686, 27.4821)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253C91 #917A25
analogous
#257291 #253C91 #442591
triadic
#253C91 #91253C #3C9125
tetradic
#253C91 #912572 #917A25 #259144
square
#253C91 #912572 #917A25 #259144
split-complementary
#253C91 #914425 #729125
monochromatic
#0C142F #192860 #253C91 #3150C2 #5B75D5

Accessibility & contrast

On white

9.84
#253C91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#253C91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253C91
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253C91#FFFFFF#000000##FFFFFF
##253C911.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004994
Deuteranopia (green-blind)
#003F8F
Tritanopia (blue-blind)
#005160
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #253c91;
/* rgb */ color: rgb(37, 60, 145);
/* oklch */ color: oklch(39.3% 0.143 267.7);
Tailwind
colors: {
  custom: {
    50: '#6f71b2',
    500: '#253c91',
    950: '#000000',
  },
}
SCSS
$custom: #253c91;
$custom-light: #6f71b2;
$custom-dark: #000000;
JSON
{
  "hex": "#253c91",
  "rgb": {
    "r": 37,
    "g": 60,
    "b": 145
  },
  "hsl": {
    "h": 227.222,
    "s": 59.341,
    "l": 35.686
  },
  "oklch": {
    "l": 0.39252,
    "c": 0.14305,
    "h": 267.7
  },
  "luminance": 0.05669
}

Semantic roles & 50–950 ramp

primary
#253C91
secondary
#BAA558
accent
#C145E3
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #253C91

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

Preview Lab → · Contrast checker → · Palette generator →

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