#253A89#253A89

#253A89 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.2% C 0.134 H 268.1°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#253A89
RGBrgb(37, 58, 137)
HSLhsl(227, 57%, 34%)
HSVhsv(227, 73%, 54%)
CMYKcmyk(73%, 57.7%, 0%, 46.3%)
CIE-LABlab(27.37, 20.54, -46.57)
CIE-LCHlch(27.37, 50.90, 293.80°)
OKLaboklab(38.16% -0.0044 -0.1341)
OKLCHoklch(38.16% 0.134 268.1)
XYZxyz(6.7898, 5.2249, 24.3127)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253A89 #897425
analogous
#256C89 #253A89 #422589
triadic
#253A89 #89253A #3A8925
tetradic
#253A89 #89256C #897425 #258942
square
#253A89 #89256C #897425 #258942
split-complementary
#253A89 #894225 #6C8925
monochromatic
#0B1129 #182659 #253A89 #324EB9 #5771D2

Accessibility & contrast

On white

10.27
#253A89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#253A89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253A89
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253A89#FFFFFF#000000##FFFFFF
##253A891.0010.272.0510.27
#FFFFFF10.271.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #253a89;
/* rgb */ color: rgb(37, 58, 137);
/* oklch */ color: oklch(38.2% 0.134 268.1);
Tailwind
colors: {
  custom: {
    50: '#6e6fac',
    500: '#253a89',
    950: '#000000',
  },
}
SCSS
$custom: #253a89;
$custom-light: #6e6fac;
$custom-dark: #000000;
JSON
{
  "hex": "#253a89",
  "rgb": {
    "r": 37,
    "g": 58,
    "b": 137
  },
  "hsl": {
    "h": 227.4,
    "s": 57.471,
    "l": 34.118
  },
  "oklch": {
    "l": 0.38156,
    "c": 0.13422,
    "h": 268.1
  },
  "luminance": 0.05226
}

Semantic roles & 50–950 ramp

primary
#253A89
secondary
#B6A154
accent
#C047E1
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #253A89

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

Preview Lab → · Contrast checker → · Palette generator →

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