#253F78#253F78

#253F78 is a dark, moderate blue. Relative luminance 0.053; OKLCH L 37.9% C 0.102 H 263.8°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#253F78
RGBrgb(37, 63, 120)
HSLhsl(221, 53%, 31%)
HSVhsv(221, 69%, 47%)
CMYKcmyk(69.2%, 47.5%, 0%, 52.9%)
CIE-LABlab(27.58, 10.44, -35.58)
CIE-LCHlch(27.58, 37.08, 286.36°)
OKLaboklab(37.93% -0.0111 -0.1018)
OKLCHoklch(37.93% 0.102 263.8)
XYZxyz(5.9294, 5.3038, 18.4769)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253F78 #785E25
analogous
#256878 #253F78 #342578
triadic
#253F78 #78253F #3F7825
tetradic
#253F78 #782568 #785E25 #257834
square
#253F78 #782568 #785E25 #257834
split-complementary
#253F78 #783425 #687825
monochromatic
#080E1A #172649 #253F78 #3358A7 #4F75C9

Accessibility & contrast

On white

10.19
#253F78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#253F78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253F78
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253F78#FFFFFF#000000##FFFFFF
##253F781.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23457A
Deuteranopia (green-blind)
#143E77
Tritanopia (blue-blind)
#004C55
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #253f78;
/* rgb */ color: rgb(37, 63, 120);
/* oklch */ color: oklch(37.9% 0.102 263.8);
Tailwind
colors: {
  custom: {
    50: '#6a739f',
    500: '#253f78',
    950: '#000000',
  },
}
SCSS
$custom: #253f78;
$custom-light: #6a739f;
$custom-dark: #000000;
JSON
{
  "hex": "#253f78",
  "rgb": {
    "r": 37,
    "g": 63,
    "b": 120
  },
  "hsl": {
    "h": 221.205,
    "s": 52.866,
    "l": 30.784
  },
  "oklch": {
    "l": 0.37926,
    "c": 0.10236,
    "h": 263.8
  },
  "luminance": 0.05304
}

Semantic roles & 50–950 ramp

primary
#253F78
secondary
#AA8E4E
accent
#AF4CDC
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #253F78

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

Preview Lab → · Contrast checker → · Palette generator →

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