#253A76#253A76

#253A76 is a dark, moderate blue. Relative luminance 0.047; OKLCH L 36.6% C 0.106 H 266.7°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#253A76
RGBrgb(37, 58, 118)
HSLhsl(224, 52%, 30%)
HSVhsv(224, 69%, 46%)
CMYKcmyk(68.6%, 50.8%, 0%, 53.7%)
CIE-LABlab(25.94, 13.13, -36.95)
CIE-LCHlch(25.94, 39.22, 289.57°)
OKLaboklab(36.63% -0.0062 -0.1059)
OKLCHoklch(36.63% 0.106 266.7)
XYZxyz(5.5449, 4.7269, 17.7562)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253A76 #766125
analogous
#256376 #253A76 #382576
triadic
#253A76 #76253A #3A7625
tetradic
#253A76 #762563 #766125 #257638
square
#253A76 #762563 #766125 #257638
split-complementary
#253A76 #763825 #637625
monochromatic
#080C19 #162347 #253A76 #3451A5 #4E6DC7

Accessibility & contrast

On white

10.79
#253A76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#253A76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253A76
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253A76#FFFFFF#000000##FFFFFF
##253A761.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4178
Deuteranopia (green-blind)
#063A75
Tritanopia (blue-blind)
#004852
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #253a76;
/* rgb */ color: rgb(37, 58, 118);
/* oklch */ color: oklch(36.6% 0.106 266.7);
Tailwind
colors: {
  custom: {
    50: '#696f9e',
    500: '#253a76',
    950: '#000000',
  },
}
SCSS
$custom: #253a76;
$custom-light: #696f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#253a76",
  "rgb": {
    "r": 37,
    "g": 58,
    "b": 118
  },
  "hsl": {
    "h": 224.444,
    "s": 52.258,
    "l": 30.392
  },
  "oklch": {
    "l": 0.36626,
    "c": 0.10605,
    "h": 266.7
  },
  "luminance": 0.04727
}

Semantic roles & 50–950 ramp

primary
#253A76
secondary
#A9914E
accent
#B64CDC
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #253A76

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

Preview Lab → · Contrast checker → · Palette generator →

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