#253B87#253B87

#253B87 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.2% C 0.130 H 267.6°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#253B87
RGBrgb(37, 59, 135)
HSLhsl(227, 57%, 34%)
HSVhsv(227, 73%, 53%)
CMYKcmyk(72.6%, 56.3%, 0%, 47.1%)
CIE-LABlab(27.49, 19.07, -45.12)
CIE-LCHlch(27.49, 48.99, 292.91°)
OKLaboklab(38.2% -0.0054 -0.1299)
OKLCHoklch(38.2% 0.13 267.6)
XYZxyz(6.6986, 5.2698, 23.5811)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253B87 #877125
analogous
#256C87 #253B87 #402587
triadic
#253B87 #87253B #3B8725
tetradic
#253B87 #87256C #877125 #258740
square
#253B87 #87256C #877125 #258740
split-complementary
#253B87 #874025 #6C8725
monochromatic
#0B1127 #182657 #253B87 #3250B7 #5671D1

Accessibility & contrast

On white

10.22
#253B87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #253B87
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253B87#FFFFFF#000000##FFFFFF
##253B871.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468A
Deuteranopia (green-blind)
#003D85
Tritanopia (blue-blind)
#004D5B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #253b87;
/* rgb */ color: rgb(37, 59, 135);
/* oklch */ color: oklch(38.2% 0.130 267.6);
Tailwind
colors: {
  custom: {
    50: '#6d70ab',
    500: '#253b87',
    950: '#000000',
  },
}
SCSS
$custom: #253b87;
$custom-light: #6d70ab;
$custom-dark: #000000;
JSON
{
  "hex": "#253b87",
  "rgb": {
    "r": 37,
    "g": 59,
    "b": 135
  },
  "hsl": {
    "h": 226.531,
    "s": 56.977,
    "l": 33.725
  },
  "oklch": {
    "l": 0.38199,
    "c": 0.13,
    "h": 267.6
  },
  "luminance": 0.05271
}

Semantic roles & 50–950 ramp

primary
#253B87
secondary
#B59F53
accent
#BE48E0
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #253B87

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

Preview Lab → · Contrast checker → · Palette generator →

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