#253790#253790

#253790 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.2% C 0.148 H 269.3°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#253790
RGBrgb(37, 55, 144)
HSLhsl(230, 59%, 35%)
HSVhsv(230, 74%, 56%)
CMYKcmyk(74.3%, 61.8%, 0%, 43.5%)
CIE-LABlab(27.13, 25.29, -51.29)
CIE-LCHlch(27.13, 57.19, 296.25°)
OKLaboklab(38.16% -0.0019 -0.1481)
OKLCHoklch(38.16% 0.148 269.3)
XYZxyz(7.1614, 5.1386, 26.9946)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253790 #907E25
analogous
#256C90 #253790 #492590
triadic
#253790 #902537 #379025
tetradic
#253790 #90256C #907E25 #259049
square
#253790 #90256C #907E25 #259049
split-complementary
#253790 #904925 #6C9025
monochromatic
#0C122F #18245F #253790 #324AC1 #5B6FD5

Accessibility & contrast

On white

10.36
#253790 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#253790 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253790
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253790#FFFFFF#000000##FFFFFF
##2537901.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004593
Deuteranopia (green-blind)
#003B8E
Tritanopia (blue-blind)
#004E5E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #253790;
/* rgb */ color: rgb(37, 55, 144);
/* oklch */ color: oklch(38.2% 0.148 269.3);
Tailwind
colors: {
  custom: {
    50: '#706db1',
    500: '#253790',
    950: '#000000',
  },
}
SCSS
$custom: #253790;
$custom-light: #706db1;
$custom-dark: #000000;
JSON
{
  "hex": "#253790",
  "rgb": {
    "r": 37,
    "g": 55,
    "b": 144
  },
  "hsl": {
    "h": 229.907,
    "s": 59.116,
    "l": 35.49
  },
  "oklch": {
    "l": 0.38157,
    "c": 0.14807,
    "h": 269.3
  },
  "luminance": 0.05139
}

Semantic roles & 50–950 ramp

primary
#253790
secondary
#B9A957
accent
#C845E2
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #253790

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

Preview Lab → · Contrast checker → · Palette generator →

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