#253F79#253F79

#253F79 is a dark, moderate blue. Relative luminance 0.053; OKLCH L 38.0% C 0.104 H 264.0°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#253F79
RGBrgb(37, 63, 121)
HSLhsl(221, 53%, 31%)
HSVhsv(221, 69%, 47%)
CMYKcmyk(69.4%, 47.9%, 0%, 52.5%)
CIE-LABlab(27.65, 10.83, -36.11)
CIE-LCHlch(27.65, 37.70, 286.70°)
OKLaboklab(38% -0.0109 -0.1033)
OKLCHoklch(38% 0.104 264)
XYZxyz(5.9904, 5.3282, 18.7982)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253F79 #795F25
analogous
#256979 #253F79 #352579
triadic
#253F79 #79253F #3F7925
tetradic
#253F79 #792569 #795F25 #257935
square
#253F79 #792569 #795F25 #257935
split-complementary
#253F79 #793525 #697925
monochromatic
#080E1B #17274A #253F79 #3357A8 #4F75C9

Accessibility & contrast

On white

10.17
#253F79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#253F79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253F79
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253F79#FFFFFF#000000##FFFFFF
##253F791.0010.172.0710.17
#FFFFFF10.171.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22457B
Deuteranopia (green-blind)
#123E78
Tritanopia (blue-blind)
#004C56
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #253f79;
/* rgb */ color: rgb(37, 63, 121);
/* oklch */ color: oklch(38.0% 0.104 264.0);
Tailwind
colors: {
  custom: {
    50: '#6a73a0',
    500: '#253f79',
    950: '#000000',
  },
}
SCSS
$custom: #253f79;
$custom-light: #6a73a0;
$custom-dark: #000000;
JSON
{
  "hex": "#253f79",
  "rgb": {
    "r": 37,
    "g": 63,
    "b": 121
  },
  "hsl": {
    "h": 221.429,
    "s": 53.165,
    "l": 30.98
  },
  "oklch": {
    "l": 0.37998,
    "c": 0.10388,
    "h": 264
  },
  "luminance": 0.05329
}

Semantic roles & 50–950 ramp

primary
#253F79
secondary
#AB8F4E
accent
#B04BDD
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07080F
muted
#7A7B7E

Preview Lab

Preview with #253F79

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

Preview Lab → · Contrast checker → · Palette generator →

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