#253D78#253D78

#253D78 is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.5% C 0.105 H 265.1°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#253D78
RGBrgb(37, 61, 120)
HSLhsl(223, 53%, 31%)
HSVhsv(223, 69%, 47%)
CMYKcmyk(69.2%, 49.2%, 0%, 52.9%)
CIE-LABlab(26.98, 11.83, -36.55)
CIE-LCHlch(26.98, 38.42, 287.93°)
OKLaboklab(37.46% -0.009 -0.1046)
OKLCHoklch(37.46% 0.105 265.1)
XYZxyz(5.8207, 5.0863, 18.4407)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253D78 #786025
analogous
#256678 #253D78 #372578
triadic
#253D78 #78253D #3D7825
tetradic
#253D78 #782566 #786025 #257837
square
#253D78 #782566 #786025 #257837
split-complementary
#253D78 #783725 #667825
monochromatic
#080D1A #172549 #253D78 #3355A7 #4F72C9

Accessibility & contrast

On white

10.41
#253D78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#253D78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253D78
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253D78#FFFFFF#000000##FFFFFF
##253D781.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F447A
Deuteranopia (green-blind)
#0D3C77
Tritanopia (blue-blind)
#004B54
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #253d78;
/* rgb */ color: rgb(37, 61, 120);
/* oklch */ color: oklch(37.5% 0.105 265.1);
Tailwind
colors: {
  custom: {
    50: '#6a729f',
    500: '#253d78',
    950: '#000000',
  },
}
SCSS
$custom: #253d78;
$custom-light: #6a729f;
$custom-dark: #000000;
JSON
{
  "hex": "#253d78",
  "rgb": {
    "r": 37,
    "g": 61,
    "b": 120
  },
  "hsl": {
    "h": 222.651,
    "s": 52.866,
    "l": 30.784
  },
  "oklch": {
    "l": 0.37463,
    "c": 0.10503,
    "h": 265.1
  },
  "luminance": 0.05087
}

Semantic roles & 50–950 ramp

primary
#253D78
secondary
#AA904E
accent
#B24CDC
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #253D78

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

Preview Lab → · Contrast checker → · Palette generator →

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