#253F91#253F91

#253F91 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.9% C 0.139 H 266.7°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#253F91
RGBrgb(37, 63, 145)
HSLhsl(226, 59%, 36%)
HSVhsv(226, 74%, 57%)
CMYKcmyk(74.5%, 56.6%, 0%, 43.1%)
CIE-LABlab(29.39, 20.22, -48.21)
CIE-LCHlch(29.39, 52.28, 292.75°)
OKLaboklab(39.88% -0.0081 -0.1389)
OKLCHoklch(39.88% 0.139 266.7)
XYZxyz(7.6495, 5.9919, 27.5360)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253F91 #917725
analogous
#257591 #253F91 #412591
triadic
#253F91 #91253F #3F9125
tetradic
#253F91 #912575 #917725 #259141
square
#253F91 #912575 #917725 #259141
split-complementary
#253F91 #914125 #759125
monochromatic
#0C152F #192A60 #253F91 #3154C2 #5B79D5

Accessibility & contrast

On white

9.55
#253F91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#253F91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253F91
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253F91#FFFFFF#000000##FFFFFF
##253F911.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A94
Deuteranopia (green-blind)
#00408F
Tritanopia (blue-blind)
#005361
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #253f91;
/* rgb */ color: rgb(37, 63, 145);
/* oklch */ color: oklch(39.9% 0.139 266.7);
Tailwind
colors: {
  custom: {
    50: '#6f73b2',
    500: '#253f91',
    950: '#000000',
  },
}
SCSS
$custom: #253f91;
$custom-light: #6f73b2;
$custom-dark: #000000;
JSON
{
  "hex": "#253f91",
  "rgb": {
    "r": 37,
    "g": 63,
    "b": 145
  },
  "hsl": {
    "h": 225.556,
    "s": 59.341,
    "l": 35.686
  },
  "oklch": {
    "l": 0.39877,
    "c": 0.13916,
    "h": 266.7
  },
  "luminance": 0.05993
}

Semantic roles & 50–950 ramp

primary
#253F91
secondary
#BAA258
accent
#BD45E3
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #253F91

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

Preview Lab → · Contrast checker → · Palette generator →

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