#253792#253792

#253792 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.3% C 0.151 H 269.3°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#253792
RGBrgb(37, 55, 146)
HSLhsl(230, 60%, 36%)
HSVhsv(230, 75%, 57%)
CMYKcmyk(74.7%, 62.3%, 0%, 42.7%)
CIE-LABlab(27.30, 26.06, -52.24)
CIE-LCHlch(27.30, 58.38, 296.51°)
OKLaboklab(38.34% -0.0019 -0.1509)
OKLCHoklch(38.34% 0.151 269.3)
XYZxyz(7.3157, 5.2002, 27.8068)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253792 #928025
analogous
#256D92 #253792 #492592
triadic
#253792 #922537 #379225
tetradic
#253792 #92256D #928025 #259249
square
#253792 #92256D #928025 #259249
split-complementary
#253792 #924925 #6D9225
monochromatic
#0C1230 #192561 #253792 #3149C3 #5C70D6

Accessibility & contrast

On white

10.29
#253792 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#253792 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253792
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253792#FFFFFF#000000##FFFFFF
##2537921.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004695
Deuteranopia (green-blind)
#003C90
Tritanopia (blue-blind)
#004E5F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #253792;
/* rgb */ color: rgb(37, 55, 146);
/* oklch */ color: oklch(38.3% 0.151 269.3);
Tailwind
colors: {
  custom: {
    50: '#706db3',
    500: '#253792',
    950: '#000000',
  },
}
SCSS
$custom: #253792;
$custom-light: #706db3;
$custom-dark: #000000;
JSON
{
  "hex": "#253792",
  "rgb": {
    "r": 37,
    "g": 55,
    "b": 146
  },
  "hsl": {
    "h": 230.092,
    "s": 59.563,
    "l": 35.882
  },
  "oklch": {
    "l": 0.38338,
    "c": 0.15087,
    "h": 269.3
  },
  "luminance": 0.05201
}

Semantic roles & 50–950 ramp

primary
#253792
secondary
#BAAA58
accent
#C945E3
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #253792

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

Preview Lab → · Contrast checker → · Palette generator →

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