#253E79#253E79

#253E79 is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.8% C 0.105 H 264.6°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#253E79
RGBrgb(37, 62, 121)
HSLhsl(222, 53%, 31%)
HSVhsv(222, 69%, 47%)
CMYKcmyk(69.4%, 48.8%, 0%, 52.5%)
CIE-LABlab(27.35, 11.52, -36.59)
CIE-LCHlch(27.35, 38.36, 287.48°)
OKLaboklab(37.77% -0.0099 -0.1047)
OKLCHoklch(37.77% 0.105 264.6)
XYZxyz(5.9356, 5.2185, 18.7799)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253E79 #796025
analogous
#256879 #253E79 #362579
triadic
#253E79 #79253E #3E7925
tetradic
#253E79 #792568 #796025 #257936
square
#253E79 #792568 #796025 #257936
split-complementary
#253E79 #793625 #687925
monochromatic
#080E1B #17264A #253E79 #3356A8 #4F73C9

Accessibility & contrast

On white

10.27
#253E79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#253E79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253E79
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253E79#FFFFFF#000000##FFFFFF
##253E791.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20457B
Deuteranopia (green-blind)
#0F3D78
Tritanopia (blue-blind)
#004C55
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #253e79;
/* rgb */ color: rgb(37, 62, 121);
/* oklch */ color: oklch(37.8% 0.105 264.6);
Tailwind
colors: {
  custom: {
    50: '#6a72a0',
    500: '#253e79',
    950: '#000000',
  },
}
SCSS
$custom: #253e79;
$custom-light: #6a72a0;
$custom-dark: #000000;
JSON
{
  "hex": "#253e79",
  "rgb": {
    "r": 37,
    "g": 62,
    "b": 121
  },
  "hsl": {
    "h": 222.143,
    "s": 53.165,
    "l": 30.98
  },
  "oklch": {
    "l": 0.37767,
    "c": 0.1052,
    "h": 264.6
  },
  "luminance": 0.05219
}

Semantic roles & 50–950 ramp

primary
#253E79
secondary
#AB904E
accent
#B14BDD
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07080F
muted
#7A7B7E

Preview Lab

Preview with #253E79

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

Preview Lab → · Contrast checker → · Palette generator →

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