#253789#253789

#253789 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.5% C 0.138 H 269.2°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#253789
RGBrgb(37, 55, 137)
HSLhsl(229, 57%, 34%)
HSVhsv(229, 73%, 54%)
CMYKcmyk(73%, 59.9%, 0%, 46.3%)
CIE-LABlab(26.54, 22.60, -47.91)
CIE-LCHlch(26.54, 52.98, 295.26°)
OKLaboklab(37.54% -0.0019 -0.1382)
OKLCHoklch(37.54% 0.138 269.2)
XYZxyz(6.6429, 4.9312, 24.2638)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253789 #897725
analogous
#256989 #253789 #452589
triadic
#253789 #892537 #378925
tetradic
#253789 #892569 #897725 #258945
square
#253789 #892569 #897725 #258945
split-complementary
#253789 #894525 #698925
monochromatic
#0B1029 #182459 #253789 #324AB9 #576DD2

Accessibility & contrast

On white

10.57
#253789 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#253789 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253789
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253789#FFFFFF#000000##FFFFFF
##2537891.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448C
Deuteranopia (green-blind)
#003A87
Tritanopia (blue-blind)
#004B5A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #253789;
/* rgb */ color: rgb(37, 55, 137);
/* oklch */ color: oklch(37.5% 0.138 269.2);
Tailwind
colors: {
  custom: {
    50: '#6e6dac',
    500: '#253789',
    950: '#000000',
  },
}
SCSS
$custom: #253789;
$custom-light: #6e6dac;
$custom-dark: #000000;
JSON
{
  "hex": "#253789",
  "rgb": {
    "r": 37,
    "g": 55,
    "b": 137
  },
  "hsl": {
    "h": 229.2,
    "s": 57.471,
    "l": 34.118
  },
  "oklch": {
    "l": 0.37536,
    "c": 0.13817,
    "h": 269.2
  },
  "luminance": 0.04932
}

Semantic roles & 50–950 ramp

primary
#253789
secondary
#B6A454
accent
#C547E1
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #253789

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

Preview Lab → · Contrast checker → · Palette generator →

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