#253B79#253B79

#253B79 is a dark, moderate blue. Relative luminance 0.049; OKLCH L 37.1% C 0.109 H 266.4°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#253B79
RGBrgb(37, 59, 121)
HSLhsl(224, 53%, 31%)
HSVhsv(224, 69%, 47%)
CMYKcmyk(69.4%, 51.2%, 0%, 52.5%)
CIE-LABlab(26.45, 13.61, -38.03)
CIE-LCHlch(26.45, 40.39, 289.69°)
OKLaboklab(37.08% -0.0068 -0.109)
OKLCHoklch(37.08% 0.109 266.4)
XYZxyz(5.7769, 4.9012, 18.7270)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253B79 #796325
analogous
#256579 #253B79 #392579
triadic
#253B79 #79253B #3B7925
tetradic
#253B79 #792565 #796325 #257939
square
#253B79 #792565 #796325 #257939
split-complementary
#253B79 #793925 #657925
monochromatic
#080D1B #17244A #253B79 #3352A8 #4F6FC9

Accessibility & contrast

On white

10.60
#253B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#253B79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253B79
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253B79#FFFFFF#000000##FFFFFF
##253B791.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19437B
Deuteranopia (green-blind)
#033B78
Tritanopia (blue-blind)
#004954
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #253b79;
/* rgb */ color: rgb(37, 59, 121);
/* oklch */ color: oklch(37.1% 0.109 266.4);
Tailwind
colors: {
  custom: {
    50: '#6a70a0',
    500: '#253b79',
    950: '#000000',
  },
}
SCSS
$custom: #253b79;
$custom-light: #6a70a0;
$custom-dark: #000000;
JSON
{
  "hex": "#253b79",
  "rgb": {
    "r": 37,
    "g": 59,
    "b": 121
  },
  "hsl": {
    "h": 224.286,
    "s": 53.165,
    "l": 30.98
  },
  "oklch": {
    "l": 0.37082,
    "c": 0.10924,
    "h": 266.4
  },
  "luminance": 0.04902
}

Semantic roles & 50–950 ramp

primary
#253B79
secondary
#AB934E
accent
#B74BDD
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07070F
muted
#7A7A7E

Preview Lab

Preview with #253B79

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

Preview Lab → · Contrast checker → · Palette generator →

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