#253794#253794

#253794 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.5% C 0.154 H 269.3°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#253794
RGBrgb(37, 55, 148)
HSLhsl(230, 60%, 36%)
HSVhsv(230, 75%, 58%)
CMYKcmyk(75%, 62.8%, 0%, 42%)
CIE-LABlab(27.47, 26.82, -53.18)
CIE-LCHlch(27.47, 59.56, 296.76°)
OKLaboklab(38.52% -0.0019 -0.1536)
OKLCHoklch(38.52% 0.154 269.3)
XYZxyz(7.4726, 5.2630, 28.6333)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253794 #948225
analogous
#256F94 #253794 #4B2594
triadic
#253794 #942537 #379425
tetradic
#253794 #94256F #948225 #25944B
square
#253794 #94256F #948225 #25944B
split-complementary
#253794 #944B25 #6F9425
monochromatic
#0D1332 #192563 #253794 #3149C5 #5D71D6

Accessibility & contrast

On white

10.23
#253794 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#253794 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253794
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253794#FFFFFF#000000##FFFFFF
##2537941.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004697
Deuteranopia (green-blind)
#003C92
Tritanopia (blue-blind)
#004F60
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #253794;
/* rgb */ color: rgb(37, 55, 148);
/* oklch */ color: oklch(38.5% 0.154 269.3);
Tailwind
colors: {
  custom: {
    50: '#716db4',
    500: '#253794',
    950: '#000000',
  },
}
SCSS
$custom: #253794;
$custom-light: #716db4;
$custom-dark: #000000;
JSON
{
  "hex": "#253794",
  "rgb": {
    "r": 37,
    "g": 55,
    "b": 148
  },
  "hsl": {
    "h": 230.27,
    "s": 60,
    "l": 36.275
  },
  "oklch": {
    "l": 0.3852,
    "c": 0.15364,
    "h": 269.3
  },
  "luminance": 0.05264
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #253794

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

Preview Lab → · Contrast checker → · Palette generator →

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