#253B89#253B89

#253B89 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.4% C 0.133 H 267.7°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#253B89
RGBrgb(37, 59, 137)
HSLhsl(227, 57%, 34%)
HSVhsv(227, 73%, 54%)
CMYKcmyk(73%, 56.9%, 0%, 46.3%)
CIE-LABlab(27.65, 19.85, -46.11)
CIE-LCHlch(27.65, 50.20, 293.29°)
OKLaboklab(38.37% -0.0053 -0.1328)
OKLCHoklch(38.37% 0.133 267.7)
XYZxyz(6.8407, 5.3267, 24.3297)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253B89 #897325
analogous
#256D89 #253B89 #412589
triadic
#253B89 #89253B #3B8925
tetradic
#253B89 #89256D #897325 #258941
square
#253B89 #89256D #897325 #258941
split-complementary
#253B89 #894125 #6D8925
monochromatic
#0B1129 #182659 #253B89 #3250B9 #5772D2

Accessibility & contrast

On white

10.17
#253B89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#253B89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253B89
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253B89#FFFFFF#000000##FFFFFF
##253B891.0010.172.0710.17
#FFFFFF10.171.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468C
Deuteranopia (green-blind)
#003D87
Tritanopia (blue-blind)
#004E5C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #253b89;
/* rgb */ color: rgb(37, 59, 137);
/* oklch */ color: oklch(38.4% 0.133 267.7);
Tailwind
colors: {
  custom: {
    50: '#6e70ac',
    500: '#253b89',
    950: '#000000',
  },
}
SCSS
$custom: #253b89;
$custom-light: #6e70ac;
$custom-dark: #000000;
JSON
{
  "hex": "#253b89",
  "rgb": {
    "r": 37,
    "g": 59,
    "b": 137
  },
  "hsl": {
    "h": 226.8,
    "s": 57.471,
    "l": 34.118
  },
  "oklch": {
    "l": 0.38366,
    "c": 0.1329,
    "h": 267.7
  },
  "luminance": 0.05327
}

Semantic roles & 50–950 ramp

primary
#253B89
secondary
#B6A054
accent
#BF47E1
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #253B89

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

Preview Lab → · Contrast checker → · Palette generator →

#253B89 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva