#253F76#253F76

#253F76 is a dark, moderate blue. Relative luminance 0.053; OKLCH L 37.8% C 0.099 H 263.4°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#253F76
RGBrgb(37, 63, 118)
HSLhsl(221, 52%, 30%)
HSVhsv(221, 69%, 46%)
CMYKcmyk(68.6%, 46.6%, 0%, 53.7%)
CIE-LABlab(27.45, 9.66, -34.53)
CIE-LCHlch(27.45, 35.86, 285.63°)
OKLaboklab(37.78% -0.0115 -0.0987)
OKLCHoklch(37.78% 0.099 263.4)
XYZxyz(5.8093, 5.2558, 17.8443)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253F76 #765C25
analogous
#256776 #253F76 #342576
triadic
#253F76 #76253F #3F7625
tetradic
#253F76 #762567 #765C25 #257634
square
#253F76 #762567 #765C25 #257634
split-complementary
#253F76 #763425 #677625
monochromatic
#080D19 #162647 #253F76 #3458A5 #4E75C7

Accessibility & contrast

On white

10.24
#253F76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#253F76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253F76
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253F76#FFFFFF#000000##FFFFFF
##253F761.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244578
Deuteranopia (green-blind)
#163D75
Tritanopia (blue-blind)
#004C54
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #253f76;
/* rgb */ color: rgb(37, 63, 118);
/* oklch */ color: oklch(37.8% 0.099 263.4);
Tailwind
colors: {
  custom: {
    50: '#69739e',
    500: '#253f76',
    950: '#000000',
  },
}
SCSS
$custom: #253f76;
$custom-light: #69739e;
$custom-dark: #000000;
JSON
{
  "hex": "#253f76",
  "rgb": {
    "r": 37,
    "g": 63,
    "b": 118
  },
  "hsl": {
    "h": 220.741,
    "s": 52.258,
    "l": 30.392
  },
  "oklch": {
    "l": 0.37782,
    "c": 0.09933,
    "h": 263.4
  },
  "luminance": 0.05256
}

Semantic roles & 50–950 ramp

primary
#253F76
secondary
#A98C4E
accent
#AE4CDC
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #253F76

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

Preview Lab → · Contrast checker → · Palette generator →

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