#253B78#253B78

#253B78 is a dark, moderate blue. Relative luminance 0.049; OKLCH L 37.0% C 0.108 H 266.3°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#253B78
RGBrgb(37, 59, 120)
HSLhsl(224, 53%, 31%)
HSVhsv(224, 69%, 47%)
CMYKcmyk(69.2%, 50.8%, 0%, 52.9%)
CIE-LABlab(26.38, 13.22, -37.51)
CIE-LCHlch(26.38, 39.77, 289.41°)
OKLaboklab(37.01% -0.0069 -0.1075)
OKLCHoklch(37.01% 0.108 266.3)
XYZxyz(5.7159, 4.8768, 18.4057)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253B78 #786225
analogous
#256478 #253B78 #382578
triadic
#253B78 #78253B #3B7825
tetradic
#253B78 #782564 #786225 #257838
square
#253B78 #782564 #786225 #257838
split-complementary
#253B78 #783825 #647825
monochromatic
#080D1A #172449 #253B78 #3352A7 #4F6FC9

Accessibility & contrast

On white

10.63
#253B78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #253B78
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253B78#FFFFFF#000000##FFFFFF
##253B781.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A427A
Deuteranopia (green-blind)
#053B77
Tritanopia (blue-blind)
#004953
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #253b78;
/* rgb */ color: rgb(37, 59, 120);
/* oklch */ color: oklch(37.0% 0.108 266.3);
Tailwind
colors: {
  custom: {
    50: '#6a709f',
    500: '#253b78',
    950: '#000000',
  },
}
SCSS
$custom: #253b78;
$custom-light: #6a709f;
$custom-dark: #000000;
JSON
{
  "hex": "#253b78",
  "rgb": {
    "r": 37,
    "g": 59,
    "b": 120
  },
  "hsl": {
    "h": 224.096,
    "s": 52.866,
    "l": 30.784
  },
  "oklch": {
    "l": 0.37006,
    "c": 0.10773,
    "h": 266.3
  },
  "luminance": 0.04877
}

Semantic roles & 50–950 ramp

primary
#253B78
secondary
#AA924E
accent
#B64CDC
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #253B78

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

Preview Lab → · Contrast checker → · Palette generator →

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