#253989#253989

#253989 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 37.9% C 0.136 H 268.5°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#253989
RGBrgb(37, 57, 137)
HSLhsl(228, 57%, 34%)
HSVhsv(228, 73%, 54%)
CMYKcmyk(73%, 58.4%, 0%, 46.3%)
CIE-LABlab(27.09, 21.23, -47.02)
CIE-LCHlch(27.09, 51.59, 294.30°)
OKLaboklab(37.95% -0.0036 -0.1355)
OKLCHoklch(37.95% 0.136 268.5)
XYZxyz(6.7399, 5.1250, 24.2961)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253989 #897525
analogous
#256B89 #253989 #432589
triadic
#253989 #892539 #398925
tetradic
#253989 #89256B #897525 #258943
square
#253989 #89256B #897525 #258943
split-complementary
#253989 #894325 #6B8925
monochromatic
#0B1129 #182559 #253989 #324DB9 #576FD2

Accessibility & contrast

On white

10.37
#253989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #253989
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253989#FFFFFF#000000##FFFFFF
##2539891.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458C
Deuteranopia (green-blind)
#003C87
Tritanopia (blue-blind)
#004D5B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #253989;
/* rgb */ color: rgb(37, 57, 137);
/* oklch */ color: oklch(37.9% 0.136 268.5);
Tailwind
colors: {
  custom: {
    50: '#6e6fac',
    500: '#253989',
    950: '#000000',
  },
}
SCSS
$custom: #253989;
$custom-light: #6e6fac;
$custom-dark: #000000;
JSON
{
  "hex": "#253989",
  "rgb": {
    "r": 37,
    "g": 57,
    "b": 137
  },
  "hsl": {
    "h": 228,
    "s": 57.471,
    "l": 34.118
  },
  "oklch": {
    "l": 0.37947,
    "c": 0.13555,
    "h": 268.5
  },
  "luminance": 0.05126
}

Semantic roles & 50–950 ramp

primary
#253989
secondary
#B6A254
accent
#C247E1
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #253989

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

Preview Lab → · Contrast checker → · Palette generator →

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