#253E71#253E71

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

Color values

HEX#253E71
RGBrgb(37, 62, 113)
HSLhsl(220, 51%, 29%)
HSVhsv(220, 67%, 44%)
CMYKcmyk(67.3%, 45.1%, 0%, 55.7%)
CIE-LABlab(26.82, 8.41, -32.37)
CIE-LCHlch(26.82, 33.45, 284.57°)
OKLaboklab(37.19% -0.0114 -0.0923)
OKLCHoklch(37.19% 0.093 263)
XYZxyz(5.4652, 5.0303, 16.3025)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253E71 #715825
analogous
#256471 #253E71 #322571
triadic
#253E71 #71253E #3E7125
tetradic
#253E71 #712564 #715825 #257132
square
#253E71 #712564 #715825 #257132
split-complementary
#253E71 #713225 #647125
monochromatic
#080D17 #162543 #253E71 #34579F #4C74C4

Accessibility & contrast

On white

10.47
#253E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#253E71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253E71
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253E71#FFFFFF#000000##FFFFFF
##253E711.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264373
Deuteranopia (green-blind)
#1A3C70
Tritanopia (blue-blind)
#004A52
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #253e71;
/* rgb */ color: rgb(37, 62, 113);
/* oklch */ color: oklch(37.2% 0.093 263.0);
Tailwind
colors: {
  custom: {
    50: '#68729a',
    500: '#253e71',
    950: '#000000',
  },
}
SCSS
$custom: #253e71;
$custom-light: #68729a;
$custom-dark: #000000;
JSON
{
  "hex": "#253e71",
  "rgb": {
    "r": 37,
    "g": 62,
    "b": 113
  },
  "hsl": {
    "h": 220.263,
    "s": 50.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.37192,
    "c": 0.09304,
    "h": 263
  },
  "luminance": 0.05031
}

Semantic roles & 50–950 ramp

primary
#253E71
secondary
#A4884E
accent
#AC4EDA
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #253E71

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

Preview Lab → · Contrast checker → · Palette generator →

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