#253C78#253C78

#253C78 is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.2% C 0.106 H 265.7°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#253C78
RGBrgb(37, 60, 120)
HSLhsl(223, 53%, 31%)
HSVhsv(223, 69%, 47%)
CMYKcmyk(69.2%, 50%, 0%, 52.9%)
CIE-LABlab(26.68, 12.52, -37.03)
CIE-LCHlch(26.68, 39.09, 288.68°)
OKLaboklab(37.23% -0.008 -0.1061)
OKLCHoklch(37.23% 0.106 265.7)
XYZxyz(5.7678, 4.9805, 18.4230)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253C78 #786125
analogous
#256578 #253C78 #372578
triadic
#253C78 #78253C #3C7825
tetradic
#253C78 #782565 #786125 #257837
square
#253C78 #782565 #786125 #257837
split-complementary
#253C78 #783725 #657825
monochromatic
#080D1A #172549 #253C78 #3353A7 #4F71C9

Accessibility & contrast

On white

10.52
#253C78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #253C78
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253C78#FFFFFF#000000##FFFFFF
##253C781.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C437A
Deuteranopia (green-blind)
#093C77
Tritanopia (blue-blind)
#004A54
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #253c78;
/* rgb */ color: rgb(37, 60, 120);
/* oklch */ color: oklch(37.2% 0.106 265.7);
Tailwind
colors: {
  custom: {
    50: '#6a719f',
    500: '#253c78',
    950: '#000000',
  },
}
SCSS
$custom: #253c78;
$custom-light: #6a719f;
$custom-dark: #000000;
JSON
{
  "hex": "#253c78",
  "rgb": {
    "r": 37,
    "g": 60,
    "b": 120
  },
  "hsl": {
    "h": 223.373,
    "s": 52.866,
    "l": 30.784
  },
  "oklch": {
    "l": 0.37233,
    "c": 0.10638,
    "h": 265.7
  },
  "luminance": 0.04981
}

Semantic roles & 50–950 ramp

primary
#253C78
secondary
#AA914E
accent
#B44CDC
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #253C78

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

Preview Lab → · Contrast checker → · Palette generator →

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