#253C79#253C79

#253C79 is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.3% C 0.108 H 265.8°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#253C79
RGBrgb(37, 60, 121)
HSLhsl(224, 53%, 31%)
HSVhsv(224, 69%, 47%)
CMYKcmyk(69.4%, 50.4%, 0%, 52.5%)
CIE-LABlab(26.75, 12.91, -37.55)
CIE-LCHlch(26.75, 39.71, 288.98°)
OKLaboklab(37.31% -0.0078 -0.1076)
OKLCHoklch(37.31% 0.108 265.8)
XYZxyz(5.8288, 5.0049, 18.7443)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253C79 #796225
analogous
#256679 #253C79 #382579
triadic
#253C79 #79253C #3C7925
tetradic
#253C79 #792566 #796225 #257938
square
#253C79 #792566 #796225 #257938
split-complementary
#253C79 #793825 #667925
monochromatic
#080E1B #17254A #253C79 #3353A8 #4F71C9

Accessibility & contrast

On white

10.49
#253C79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#253C79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253C79
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253C79#FFFFFF#000000##FFFFFF
##253C791.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B437B
Deuteranopia (green-blind)
#073C78
Tritanopia (blue-blind)
#004A54
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #253c79;
/* rgb */ color: rgb(37, 60, 121);
/* oklch */ color: oklch(37.3% 0.108 265.8);
Tailwind
colors: {
  custom: {
    50: '#6a71a0',
    500: '#253c79',
    950: '#000000',
  },
}
SCSS
$custom: #253c79;
$custom-light: #6a71a0;
$custom-dark: #000000;
JSON
{
  "hex": "#253c79",
  "rgb": {
    "r": 37,
    "g": 60,
    "b": 121
  },
  "hsl": {
    "h": 223.571,
    "s": 53.165,
    "l": 30.98
  },
  "oklch": {
    "l": 0.37309,
    "c": 0.10789,
    "h": 265.8
  },
  "luminance": 0.05006
}

Semantic roles & 50–950 ramp

primary
#253C79
secondary
#AB924E
accent
#B54BDD
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07070F
muted
#7A7A7E

Preview Lab

Preview with #253C79

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

Preview Lab → · Contrast checker → · Palette generator →

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