#253B91#253B91

#253B91 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.0% C 0.144 H 268.0°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#253B91
RGBrgb(37, 59, 145)
HSLhsl(228, 59%, 36%)
HSVhsv(228, 74%, 57%)
CMYKcmyk(74.5%, 59.3%, 0%, 43.1%)
CIE-LABlab(28.29, 22.96, -50.01)
CIE-LCHlch(28.29, 55.03, 294.66°)
OKLaboklab(39.05% -0.0049 -0.1443)
OKLCHoklch(39.05% 0.144 268)
XYZxyz(7.4360, 5.5648, 27.4648)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253B91 #917B25
analogous
#257191 #253B91 #452591
triadic
#253B91 #91253B #3B9125
tetradic
#253B91 #912571 #917B25 #259145
square
#253B91 #912571 #917B25 #259145
split-complementary
#253B91 #914525 #719125
monochromatic
#0C132F #192760 #253B91 #314FC2 #5B74D5

Accessibility & contrast

On white

9.94
#253B91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#253B91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253B91
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253B91#FFFFFF#000000##FFFFFF
##253B911.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004894
Deuteranopia (green-blind)
#003E8F
Tritanopia (blue-blind)
#005060
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #253b91;
/* rgb */ color: rgb(37, 59, 145);
/* oklch */ color: oklch(39.0% 0.144 268.0);
Tailwind
colors: {
  custom: {
    50: '#7070b2',
    500: '#253b91',
    950: '#000000',
  },
}
SCSS
$custom: #253b91;
$custom-light: #7070b2;
$custom-dark: #000000;
JSON
{
  "hex": "#253b91",
  "rgb": {
    "r": 37,
    "g": 59,
    "b": 145
  },
  "hsl": {
    "h": 227.778,
    "s": 59.341,
    "l": 35.686
  },
  "oklch": {
    "l": 0.39048,
    "c": 0.14434,
    "h": 268
  },
  "luminance": 0.05566
}

Semantic roles & 50–950 ramp

primary
#253B91
secondary
#BAA658
accent
#C245E3
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #253B91

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

Preview Lab → · Contrast checker → · Palette generator →

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