#253B71#253B71

#253B71 is a dark, moderate blue. Relative luminance 0.047; OKLCH L 36.5% C 0.097 H 265.2°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#253B71
RGBrgb(37, 59, 113)
HSLhsl(223, 51%, 29%)
HSVhsv(223, 67%, 44%)
CMYKcmyk(67.3%, 47.8%, 0%, 55.7%)
CIE-LABlab(25.90, 10.49, -33.84)
CIE-LCHlch(25.90, 35.43, 287.22°)
OKLaboklab(36.49% -0.008 -0.0967)
OKLCHoklch(36.49% 0.097 265.2)
XYZxyz(5.3065, 4.7130, 16.2496)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253B71 #715B25
analogous
#256171 #253B71 #352571
triadic
#253B71 #71253B #3B7125
tetradic
#253B71 #712561 #715B25 #257135
square
#253B71 #712561 #715B25 #257135
split-complementary
#253B71 #713525 #617125
monochromatic
#080C17 #162343 #253B71 #34539F #4C6FC4

Accessibility & contrast

On white

10.81
#253B71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#253B71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253B71
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253B71#FFFFFF#000000##FFFFFF
##253B711.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214173
Deuteranopia (green-blind)
#143A70
Tritanopia (blue-blind)
#004750
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #253b71;
/* rgb */ color: rgb(37, 59, 113);
/* oklch */ color: oklch(36.5% 0.097 265.2);
Tailwind
colors: {
  custom: {
    50: '#68709a',
    500: '#253b71',
    950: '#000000',
  },
}
SCSS
$custom: #253b71;
$custom-light: #68709a;
$custom-dark: #000000;
JSON
{
  "hex": "#253b71",
  "rgb": {
    "r": 37,
    "g": 59,
    "b": 113
  },
  "hsl": {
    "h": 222.632,
    "s": 50.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.36485,
    "c": 0.09704,
    "h": 265.2
  },
  "luminance": 0.04713
}

Semantic roles & 50–950 ramp

primary
#253B71
secondary
#A48B4E
accent
#B14EDA
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #253B71

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

Preview Lab → · Contrast checker → · Palette generator →

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