#253F71#253F71

#253F71 is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.4% C 0.092 H 262.2°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#253F71
RGBrgb(37, 63, 113)
HSLhsl(219, 51%, 29%)
HSVhsv(219, 67%, 44%)
CMYKcmyk(67.3%, 44.2%, 0%, 55.7%)
CIE-LABlab(27.13, 7.72, -31.88)
CIE-LCHlch(27.13, 32.80, 283.62°)
OKLaboklab(37.43% -0.0125 -0.0909)
OKLCHoklch(37.43% 0.092 262.2)
XYZxyz(5.5200, 5.1401, 16.3208)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253F71 #715725
analogous
#256571 #253F71 #312571
triadic
#253F71 #71253F #3F7125
tetradic
#253F71 #712565 #715725 #257131
square
#253F71 #712565 #715725 #257131
split-complementary
#253F71 #713125 #657125
monochromatic
#080D17 #162543 #253F71 #34599F #4C75C4

Accessibility & contrast

On white

10.35
#253F71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#253F71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253F71
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253F71#FFFFFF#000000##FFFFFF
##253F711.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284473
Deuteranopia (green-blind)
#1C3D70
Tritanopia (blue-blind)
#004A52
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #253f71;
/* rgb */ color: rgb(37, 63, 113);
/* oklch */ color: oklch(37.4% 0.092 262.2);
Tailwind
colors: {
  custom: {
    50: '#68739a',
    500: '#253f71',
    950: '#000000',
  },
}
SCSS
$custom: #253f71;
$custom-light: #68739a;
$custom-dark: #000000;
JSON
{
  "hex": "#253f71",
  "rgb": {
    "r": 37,
    "g": 63,
    "b": 113
  },
  "hsl": {
    "h": 219.474,
    "s": 50.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.3743,
    "c": 0.09173,
    "h": 262.2
  },
  "luminance": 0.05141
}

Semantic roles & 50–950 ramp

primary
#253F71
secondary
#A4864E
accent
#AA4EDA
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #253F71

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

Preview Lab → · Contrast checker → · Palette generator →

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