#253291#253291

#253291 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.3% C 0.156 H 270.6°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#253291
RGBrgb(37, 50, 145)
HSLhsl(233, 59%, 36%)
HSVhsv(233, 74%, 57%)
CMYKcmyk(74.5%, 65.5%, 0%, 43.1%)
CIE-LABlab(25.92, 29.04, -53.88)
CIE-LCHlch(25.92, 61.21, 298.32°)
OKLaboklab(37.29% 0.0017 -0.1557)
OKLCHoklch(37.29% 0.156 270.6)
XYZxyz(7.0126, 4.7181, 27.3237)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253291 #918425
analogous
#256891 #253291 #4E2591
triadic
#253291 #912532 #329125
tetradic
#253291 #912568 #918425 #25914E
square
#253291 #912568 #918425 #25914E
split-complementary
#253291 #914E25 #689125
monochromatic
#0C102F #192160 #253291 #3143C2 #5B6AD5

Accessibility & contrast

On white

10.80
#253291 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#253291 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253291
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253291#FFFFFF#000000##FFFFFF
##2532911.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004294
Deuteranopia (green-blind)
#00388F
Tritanopia (blue-blind)
#004B5C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #253291;
/* rgb */ color: rgb(37, 50, 145);
/* oklch */ color: oklch(37.3% 0.156 270.6);
Tailwind
colors: {
  custom: {
    50: '#706ab2',
    500: '#253291',
    950: '#000000',
  },
}
SCSS
$custom: #253291;
$custom-light: #706ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#253291",
  "rgb": {
    "r": 37,
    "g": 50,
    "b": 145
  },
  "hsl": {
    "h": 232.778,
    "s": 59.341,
    "l": 35.686
  },
  "oklch": {
    "l": 0.37292,
    "c": 0.15573,
    "h": 270.6
  },
  "luminance": 0.04719
}

Semantic roles & 50–950 ramp

primary
#253291
secondary
#BAAE58
accent
#D045E3
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #253291

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

Preview Lab → · Contrast checker → · Palette generator →

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