#253F89#253F89

#253F89 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.2% C 0.128 H 266.1°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#253F89
RGBrgb(37, 63, 137)
HSLhsl(224, 57%, 34%)
HSVhsv(224, 73%, 54%)
CMYKcmyk(73%, 54%, 0%, 46.3%)
CIE-LABlab(28.78, 17.10, -44.27)
CIE-LCHlch(28.78, 47.46, 291.11°)
OKLaboklab(39.22% -0.0088 -0.1273)
OKLCHoklch(39.22% 0.128 266.1)
XYZxyz(7.0542, 5.7537, 24.4009)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253F89 #896F25
analogous
#257189 #253F89 #3D2589
triadic
#253F89 #89253F #3F8925
tetradic
#253F89 #892571 #896F25 #25893D
square
#253F89 #892571 #896F25 #25893D
split-complementary
#253F89 #893D25 #718925
monochromatic
#0B1329 #182959 #253F89 #3255B9 #5777D2

Accessibility & contrast

On white

9.76
#253F89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#253F89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253F89
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253F89#FFFFFF#000000##FFFFFF
##253F891.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D498C
Deuteranopia (green-blind)
#003F88
Tritanopia (blue-blind)
#00515D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #253f89;
/* rgb */ color: rgb(37, 63, 137);
/* oklch */ color: oklch(39.2% 0.128 266.1);
Tailwind
colors: {
  custom: {
    50: '#6d73ac',
    500: '#253f89',
    950: '#000000',
  },
}
SCSS
$custom: #253f89;
$custom-light: #6d73ac;
$custom-dark: #000000;
JSON
{
  "hex": "#253f89",
  "rgb": {
    "r": 37,
    "g": 63,
    "b": 137
  },
  "hsl": {
    "h": 224.4,
    "s": 57.471,
    "l": 34.118
  },
  "oklch": {
    "l": 0.39223,
    "c": 0.12762,
    "h": 266.1
  },
  "luminance": 0.05754
}

Semantic roles & 50–950 ramp

primary
#253F89
secondary
#B69C54
accent
#B947E1
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #253F89

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

Preview Lab → · Contrast checker → · Palette generator →

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