#253F87#253F87

#253F87 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.1% C 0.125 H 265.9°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#253F87
RGBrgb(37, 63, 135)
HSLhsl(224, 57%, 34%)
HSVhsv(224, 73%, 53%)
CMYKcmyk(72.6%, 53.3%, 0%, 47.1%)
CIE-LABlab(28.63, 16.31, -43.27)
CIE-LCHlch(28.63, 46.24, 290.66°)
OKLaboklab(39.06% -0.009 -0.1244)
OKLCHoklch(39.06% 0.125 265.9)
XYZxyz(6.9121, 5.6969, 23.6523)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253F87 #876D25
analogous
#257087 #253F87 #3C2587
triadic
#253F87 #87253F #3F8725
tetradic
#253F87 #872570 #876D25 #25873C
square
#253F87 #872570 #876D25 #25873C
split-complementary
#253F87 #873C25 #708725
monochromatic
#0B1227 #182957 #253F87 #3255B7 #5676D1

Accessibility & contrast

On white

9.81
#253F87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#253F87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253F87
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253F87#FFFFFF#000000##FFFFFF
##253F871.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11488A
Deuteranopia (green-blind)
#003F86
Tritanopia (blue-blind)
#00505C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #253f87;
/* rgb */ color: rgb(37, 63, 135);
/* oklch */ color: oklch(39.1% 0.125 265.9);
Tailwind
colors: {
  custom: {
    50: '#6d73aa',
    500: '#253f87',
    950: '#000000',
  },
}
SCSS
$custom: #253f87;
$custom-light: #6d73aa;
$custom-dark: #000000;
JSON
{
  "hex": "#253f87",
  "rgb": {
    "r": 37,
    "g": 63,
    "b": 135
  },
  "hsl": {
    "h": 224.082,
    "s": 56.977,
    "l": 33.725
  },
  "oklch": {
    "l": 0.39064,
    "c": 0.1247,
    "h": 265.9
  },
  "luminance": 0.05698
}

Semantic roles & 50–950 ramp

primary
#253F87
secondary
#B59B53
accent
#B848E0
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #253F87

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

Preview Lab → · Contrast checker → · Palette generator →

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