#253D71#253D71

#253D71 is a dark, moderate blue. Relative luminance 0.049; OKLCH L 37.0% C 0.094 H 263.8°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#253D71
RGBrgb(37, 61, 113)
HSLhsl(221, 51%, 29%)
HSVhsv(221, 67%, 44%)
CMYKcmyk(67.3%, 46%, 0%, 55.7%)
CIE-LABlab(26.51, 9.10, -32.86)
CIE-LCHlch(26.51, 34.10, 285.48°)
OKLaboklab(36.96% -0.0102 -0.0938)
OKLCHoklch(36.96% 0.094 263.8)
XYZxyz(5.4113, 4.9226, 16.2846)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253D71 #715925
analogous
#256371 #253D71 #332571
triadic
#253D71 #71253D #3D7125
tetradic
#253D71 #712563 #715925 #257133
square
#253D71 #712563 #715925 #257133
split-complementary
#253D71 #713325 #637125
monochromatic
#080C17 #162443 #253D71 #34569F #4C72C4

Accessibility & contrast

On white

10.58
#253D71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#253D71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253D71
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253D71#FFFFFF#000000##FFFFFF
##253D711.0010.581.9810.58
#FFFFFF10.581.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254273
Deuteranopia (green-blind)
#183B70
Tritanopia (blue-blind)
#004951
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #253d71;
/* rgb */ color: rgb(37, 61, 113);
/* oklch */ color: oklch(37.0% 0.094 263.8);
Tailwind
colors: {
  custom: {
    50: '#68729a',
    500: '#253d71',
    950: '#000000',
  },
}
SCSS
$custom: #253d71;
$custom-light: #68729a;
$custom-dark: #000000;
JSON
{
  "hex": "#253d71",
  "rgb": {
    "r": 37,
    "g": 61,
    "b": 113
  },
  "hsl": {
    "h": 221.053,
    "s": 50.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.36955,
    "c": 0.09436,
    "h": 263.8
  },
  "luminance": 0.04923
}

Semantic roles & 50–950 ramp

primary
#253D71
secondary
#A4894E
accent
#AE4EDA
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #253D71

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

Preview Lab → · Contrast checker → · Palette generator →

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