#253C87#253C87

#253C87 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.4% C 0.129 H 267.2°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#253C87
RGBrgb(37, 60, 135)
HSLhsl(226, 57%, 34%)
HSVhsv(226, 73%, 53%)
CMYKcmyk(72.6%, 55.6%, 0%, 47.1%)
CIE-LABlab(27.77, 18.38, -44.66)
CIE-LCHlch(27.77, 48.30, 292.37°)
OKLaboklab(38.41% -0.0063 -0.1285)
OKLCHoklch(38.41% 0.129 267.2)
XYZxyz(6.7505, 5.3736, 23.5984)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253C87 #877025
analogous
#256D87 #253C87 #3F2587
triadic
#253C87 #87253C #3C8725
tetradic
#253C87 #87256D #877025 #25873F
square
#253C87 #87256D #877025 #25873F
split-complementary
#253C87 #873F25 #6D8725
monochromatic
#0B1127 #182757 #253C87 #3251B7 #5673D1

Accessibility & contrast

On white

10.12
#253C87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #253C87
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253C87#FFFFFF#000000##FFFFFF
##253C871.0010.122.0710.12
#FFFFFF10.121.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02468A
Deuteranopia (green-blind)
#003D85
Tritanopia (blue-blind)
#004E5B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #253c87;
/* rgb */ color: rgb(37, 60, 135);
/* oklch */ color: oklch(38.4% 0.129 267.2);
Tailwind
colors: {
  custom: {
    50: '#6d71ab',
    500: '#253c87',
    950: '#000000',
  },
}
SCSS
$custom: #253c87;
$custom-light: #6d71ab;
$custom-dark: #000000;
JSON
{
  "hex": "#253c87",
  "rgb": {
    "r": 37,
    "g": 60,
    "b": 135
  },
  "hsl": {
    "h": 225.918,
    "s": 56.977,
    "l": 33.725
  },
  "oklch": {
    "l": 0.38413,
    "c": 0.12868,
    "h": 267.2
  },
  "luminance": 0.05374
}

Semantic roles & 50–950 ramp

primary
#253C87
secondary
#B59E53
accent
#BC48E0
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #253C87

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

Preview Lab → · Contrast checker → · Palette generator →

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