#253991#253991

#253991 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.6% C 0.147 H 268.7°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#253991
RGBrgb(37, 57, 145)
HSLhsl(229, 59%, 36%)
HSVhsv(229, 74%, 57%)
CMYKcmyk(74.5%, 60.7%, 0%, 43.1%)
CIE-LABlab(27.75, 24.32, -50.89)
CIE-LCHlch(27.75, 56.41, 295.54°)
OKLaboklab(38.64% -0.0034 -0.1469)
OKLCHoklch(38.64% 0.147 268.7)
XYZxyz(7.3351, 5.3631, 27.4312)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253991 #917D25
analogous
#256F91 #253991 #472591
triadic
#253991 #912539 #399125
tetradic
#253991 #91256F #917D25 #259147
square
#253991 #91256F #917D25 #259147
split-complementary
#253991 #914725 #6F9125
monochromatic
#0C132F #192660 #253991 #314CC2 #5B72D5

Accessibility & contrast

On white

10.13
#253991 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#253991 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253991
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253991#FFFFFF#000000##FFFFFF
##2539911.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004794
Deuteranopia (green-blind)
#003D8F
Tritanopia (blue-blind)
#004F5F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #253991;
/* rgb */ color: rgb(37, 57, 145);
/* oklch */ color: oklch(38.6% 0.147 268.7);
Tailwind
colors: {
  custom: {
    50: '#706fb2',
    500: '#253991',
    950: '#000000',
  },
}
SCSS
$custom: #253991;
$custom-light: #706fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#253991",
  "rgb": {
    "r": 37,
    "g": 57,
    "b": 145
  },
  "hsl": {
    "h": 228.889,
    "s": 59.341,
    "l": 35.686
  },
  "oklch": {
    "l": 0.38644,
    "c": 0.14692,
    "h": 268.7
  },
  "luminance": 0.05364
}

Semantic roles & 50–950 ramp

primary
#253991
secondary
#BAA858
accent
#C545E3
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #253991

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

Preview Lab → · Contrast checker → · Palette generator →

#253991 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva