#253C71#253C71

#253C71 is a dark, moderate blue. Relative luminance 0.048; OKLCH L 36.7% C 0.096 H 264.5°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#253C71
RGBrgb(37, 60, 113)
HSLhsl(222, 51%, 29%)
HSVhsv(222, 67%, 44%)
CMYKcmyk(67.3%, 46.9%, 0%, 55.7%)
CIE-LABlab(26.21, 9.80, -33.35)
CIE-LCHlch(26.21, 34.76, 286.37°)
OKLaboklab(36.72% -0.0091 -0.0953)
OKLCHoklch(36.72% 0.096 264.5)
XYZxyz(5.3584, 4.8168, 16.2669)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253C71 #715A25
analogous
#256271 #253C71 #342571
triadic
#253C71 #71253C #3C7125
tetradic
#253C71 #712562 #715A25 #257134
square
#253C71 #712562 #715A25 #257134
split-complementary
#253C71 #713425 #627125
monochromatic
#080C17 #162443 #253C71 #34549F #4C70C4

Accessibility & contrast

On white

10.70
#253C71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#253C71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253C71
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253C71#FFFFFF#000000##FFFFFF
##253C711.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234273
Deuteranopia (green-blind)
#163B70
Tritanopia (blue-blind)
#004851
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #253c71;
/* rgb */ color: rgb(37, 60, 113);
/* oklch */ color: oklch(36.7% 0.096 264.5);
Tailwind
colors: {
  custom: {
    50: '#68719a',
    500: '#253c71',
    950: '#000000',
  },
}
SCSS
$custom: #253c71;
$custom-light: #68719a;
$custom-dark: #000000;
JSON
{
  "hex": "#253c71",
  "rgb": {
    "r": 37,
    "g": 60,
    "b": 113
  },
  "hsl": {
    "h": 221.842,
    "s": 50.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.36719,
    "c": 0.0957,
    "h": 264.5
  },
  "luminance": 0.04817
}

Semantic roles & 50–950 ramp

primary
#253C71
secondary
#A48A4E
accent
#B04EDA
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #253C71

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

Preview Lab → · Contrast checker → · Palette generator →

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