#253F77#253F77

#253F77 is a dark, moderate blue. Relative luminance 0.053; OKLCH L 37.9% C 0.101 H 263.6°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#253F77
RGBrgb(37, 63, 119)
HSLhsl(221, 53%, 31%)
HSVhsv(221, 69%, 47%)
CMYKcmyk(68.9%, 47.1%, 0%, 53.3%)
CIE-LABlab(27.52, 10.05, -35.06)
CIE-LCHlch(27.52, 36.47, 286.00°)
OKLaboklab(37.85% -0.0113 -0.1002)
OKLCHoklch(37.85% 0.101 263.6)
XYZxyz(5.8691, 5.2797, 18.1590)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253F77 #775D25
analogous
#256877 #253F77 #342577
triadic
#253F77 #77253F #3F7725
tetradic
#253F77 #772568 #775D25 #257734
square
#253F77 #772568 #775D25 #257734
split-complementary
#253F77 #773425 #687725
monochromatic
#080E1A #162648 #253F77 #3458A6 #4E75C8

Accessibility & contrast

On white

10.21
#253F77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#253F77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253F77
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253F77#FFFFFF#000000##FFFFFF
##253F771.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244579
Deuteranopia (green-blind)
#153D76
Tritanopia (blue-blind)
#004C55
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #253f77;
/* rgb */ color: rgb(37, 63, 119);
/* oklch */ color: oklch(37.9% 0.101 263.6);
Tailwind
colors: {
  custom: {
    50: '#69739f',
    500: '#253f77',
    950: '#000000',
  },
}
SCSS
$custom: #253f77;
$custom-light: #69739f;
$custom-dark: #000000;
JSON
{
  "hex": "#253f77",
  "rgb": {
    "r": 37,
    "g": 63,
    "b": 119
  },
  "hsl": {
    "h": 220.976,
    "s": 52.564,
    "l": 30.588
  },
  "oklch": {
    "l": 0.37853,
    "c": 0.10085,
    "h": 263.6
  },
  "luminance": 0.0528
}

Semantic roles & 50–950 ramp

primary
#253F77
secondary
#A98D4E
accent
#AE4CDC
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #253F77

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

Preview Lab → · Contrast checker → · Palette generator →

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