#253D74#253D74

#253D74 is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.2% C 0.099 H 264.4°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#253D74
RGBrgb(37, 61, 116)
HSLhsl(222, 52%, 30%)
HSVhsv(222, 68%, 45%)
CMYKcmyk(68.1%, 47.4%, 0%, 54.5%)
CIE-LABlab(26.71, 10.27, -34.45)
CIE-LCHlch(26.71, 35.95, 286.60°)
OKLaboklab(37.17% -0.0097 -0.0985)
OKLCHoklch(37.17% 0.099 264.4)
XYZxyz(5.5830, 4.9912, 17.1888)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253D74 #745C25
analogous
#256574 #253D74 #342574
triadic
#253D74 #74253D #3D7425
tetradic
#253D74 #742565 #745C25 #257434
square
#253D74 #742565 #745C25 #257434
split-complementary
#253D74 #743425 #657425
monochromatic
#070C17 #162546 #253D74 #3455A2 #4D72C6

Accessibility & contrast

On white

10.51
#253D74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#253D74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253D74
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253D74#FFFFFF#000000##FFFFFF
##253D741.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224376
Deuteranopia (green-blind)
#143C73
Tritanopia (blue-blind)
#004A52
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #253d74;
/* rgb */ color: rgb(37, 61, 116);
/* oklch */ color: oklch(37.2% 0.099 264.4);
Tailwind
colors: {
  custom: {
    50: '#69729c',
    500: '#253d74',
    950: '#000000',
  },
}
SCSS
$custom: #253d74;
$custom-light: #69729c;
$custom-dark: #000000;
JSON
{
  "hex": "#253d74",
  "rgb": {
    "r": 37,
    "g": 61,
    "b": 116
  },
  "hsl": {
    "h": 221.772,
    "s": 51.634,
    "l": 30
  },
  "oklch": {
    "l": 0.37169,
    "c": 0.09895,
    "h": 264.4
  },
  "luminance": 0.04992
}

Semantic roles & 50–950 ramp

primary
#253D74
secondary
#A78C4E
accent
#B04DDB
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #253D74

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

Preview Lab → · Contrast checker → · Palette generator →

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