#253E76#253E76

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

Color values

HEX#253E76
RGBrgb(37, 62, 118)
HSLhsl(221, 52%, 30%)
HSVhsv(221, 69%, 46%)
CMYKcmyk(68.6%, 47.5%, 0%, 53.7%)
CIE-LABlab(27.15, 10.35, -35.02)
CIE-LCHlch(27.15, 36.52, 286.47°)
OKLaboklab(37.55% -0.0104 -0.1001)
OKLCHoklch(37.55% 0.101 264.1)
XYZxyz(5.7544, 5.1460, 17.8261)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253E76 #765D25
analogous
#256776 #253E76 #342576
triadic
#253E76 #76253E #3E7625
tetradic
#253E76 #762567 #765D25 #257634
square
#253E76 #762567 #765D25 #257634
split-complementary
#253E76 #763425 #677625
monochromatic
#080D19 #162647 #253E76 #3456A5 #4E73C7

Accessibility & contrast

On white

10.35
#253E76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#253E76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253E76
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253E76#FFFFFF#000000##FFFFFF
##253E761.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234478
Deuteranopia (green-blind)
#143D75
Tritanopia (blue-blind)
#004B54
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #253e76;
/* rgb */ color: rgb(37, 62, 118);
/* oklch */ color: oklch(37.5% 0.101 264.1);
Tailwind
colors: {
  custom: {
    50: '#69729e',
    500: '#253e76',
    950: '#000000',
  },
}
SCSS
$custom: #253e76;
$custom-light: #69729e;
$custom-dark: #000000;
JSON
{
  "hex": "#253e76",
  "rgb": {
    "r": 37,
    "g": 62,
    "b": 118
  },
  "hsl": {
    "h": 221.481,
    "s": 52.258,
    "l": 30.392
  },
  "oklch": {
    "l": 0.37548,
    "c": 0.10066,
    "h": 264.1
  },
  "luminance": 0.05147
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #253E76

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

Preview Lab → · Contrast checker → · Palette generator →

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