#253F81#253F81

#253F81 is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.6% C 0.116 H 265.2°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#253F81
RGBrgb(37, 63, 129)
HSLhsl(223, 55%, 33%)
HSVhsv(223, 71%, 51%)
CMYKcmyk(71.3%, 51.2%, 0%, 49.4%)
CIE-LABlab(28.20, 13.96, -40.24)
CIE-LCHlch(28.20, 42.59, 289.14°)
OKLaboklab(38.6% -0.0097 -0.1154)
OKLCHoklch(38.6% 0.116 265.2)
XYZxyz(6.5015, 5.5327, 21.4899)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253F81 #816725
analogous
#256D81 #253F81 #392581
triadic
#253F81 #81253F #3F8125
tetradic
#253F81 #81256D #816725 #258139
square
#253F81 #81256D #816725 #258139
split-complementary
#253F81 #813925 #6D8125
monochromatic
#0A1122 #172851 #253F81 #3356B1 #5376CE

Accessibility & contrast

On white

9.97
#253F81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#253F81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253F81
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253F81#FFFFFF#000000##FFFFFF
##253F811.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4783
Deuteranopia (green-blind)
#003F80
Tritanopia (blue-blind)
#004F5A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #253f81;
/* rgb */ color: rgb(37, 63, 129);
/* oklch */ color: oklch(38.6% 0.116 265.2);
Tailwind
colors: {
  custom: {
    50: '#6c73a6',
    500: '#253f81',
    950: '#000000',
  },
}
SCSS
$custom: #253f81;
$custom-light: #6c73a6;
$custom-dark: #000000;
JSON
{
  "hex": "#253f81",
  "rgb": {
    "r": 37,
    "g": 63,
    "b": 129
  },
  "hsl": {
    "h": 223.043,
    "s": 55.422,
    "l": 32.549
  },
  "oklch": {
    "l": 0.38597,
    "c": 0.11586,
    "h": 265.2
  },
  "luminance": 0.05533
}

Semantic roles & 50–950 ramp

primary
#253F81
secondary
#B29650
accent
#B449DF
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #253F81

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

Preview Lab → · Contrast checker → · Palette generator →

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