#253E89#253E89

#253E89 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.0% C 0.129 H 266.5°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#253E89
RGBrgb(37, 62, 137)
HSLhsl(225, 57%, 34%)
HSVhsv(225, 73%, 54%)
CMYKcmyk(73%, 54.7%, 0%, 46.3%)
CIE-LABlab(28.50, 17.78, -44.73)
CIE-LCHlch(28.50, 48.14, 291.68°)
OKLaboklab(39.01% -0.0079 -0.1287)
OKLCHoklch(39.01% 0.129 266.5)
XYZxyz(6.9994, 5.6440, 24.3826)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253E89 #897025
analogous
#257089 #253E89 #3E2589
triadic
#253E89 #89253E #3E8925
tetradic
#253E89 #892570 #897025 #25893E
square
#253E89 #892570 #897025 #25893E
split-complementary
#253E89 #893E25 #708925
monochromatic
#0B1229 #182859 #253E89 #3254B9 #5776D2

Accessibility & contrast

On white

9.86
#253E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#253E89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253E89
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253E89#FFFFFF#000000##FFFFFF
##253E891.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07488C
Deuteranopia (green-blind)
#003F87
Tritanopia (blue-blind)
#00505D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #253e89;
/* rgb */ color: rgb(37, 62, 137);
/* oklch */ color: oklch(39.0% 0.129 266.5);
Tailwind
colors: {
  custom: {
    50: '#6d72ac',
    500: '#253e89',
    950: '#000000',
  },
}
SCSS
$custom: #253e89;
$custom-light: #6d72ac;
$custom-dark: #000000;
JSON
{
  "hex": "#253e89",
  "rgb": {
    "r": 37,
    "g": 62,
    "b": 137
  },
  "hsl": {
    "h": 225,
    "s": 57.471,
    "l": 34.118
  },
  "oklch": {
    "l": 0.39007,
    "c": 0.12894,
    "h": 266.5
  },
  "luminance": 0.05645
}

Semantic roles & 50–950 ramp

primary
#253E89
secondary
#B69D54
accent
#BA47E1
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #253E89

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

Preview Lab → · Contrast checker → · Palette generator →

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