#253D91#253D91

#253D91 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.5% C 0.142 H 267.4°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#253D91
RGBrgb(37, 61, 145)
HSLhsl(227, 59%, 36%)
HSVhsv(227, 74%, 57%)
CMYKcmyk(74.5%, 57.9%, 0%, 43.1%)
CIE-LABlab(28.84, 21.59, -49.12)
CIE-LCHlch(28.84, 53.65, 293.73°)
OKLaboklab(39.46% -0.0065 -0.1416)
OKLCHoklch(39.46% 0.142 267.4)
XYZxyz(7.5408, 5.7743, 27.4997)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253D91 #917925
analogous
#257391 #253D91 #432591
triadic
#253D91 #91253D #3D9125
tetradic
#253D91 #912573 #917925 #259143
square
#253D91 #912573 #917925 #259143
split-complementary
#253D91 #914325 #739125
monochromatic
#0C142F #192860 #253D91 #3152C2 #5B76D5

Accessibility & contrast

On white

9.74
#253D91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#253D91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253D91
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253D91#FFFFFF#000000##FFFFFF
##253D911.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #253d91;
/* rgb */ color: rgb(37, 61, 145);
/* oklch */ color: oklch(39.5% 0.142 267.4);
Tailwind
colors: {
  custom: {
    50: '#6f72b2',
    500: '#253d91',
    950: '#000000',
  },
}
SCSS
$custom: #253d91;
$custom-light: #6f72b2;
$custom-dark: #000000;
JSON
{
  "hex": "#253d91",
  "rgb": {
    "r": 37,
    "g": 61,
    "b": 145
  },
  "hsl": {
    "h": 226.667,
    "s": 59.341,
    "l": 35.686
  },
  "oklch": {
    "l": 0.39459,
    "c": 0.14176,
    "h": 267.4
  },
  "luminance": 0.05775
}

Semantic roles & 50–950 ramp

primary
#253D91
secondary
#BAA458
accent
#C045E3
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #253D91

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

Preview Lab → · Contrast checker → · Palette generator →

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