#253E81#253E81

#253E81 is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.4% C 0.117 H 265.7°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#253E81
RGBrgb(37, 62, 129)
HSLhsl(224, 55%, 33%)
HSVhsv(224, 71%, 51%)
CMYKcmyk(71.3%, 51.9%, 0%, 49.4%)
CIE-LABlab(27.91, 14.65, -40.71)
CIE-LCHlch(27.91, 43.27, 289.80°)
OKLaboklab(38.37% -0.0087 -0.1169)
OKLCHoklch(38.37% 0.117 265.7)
XYZxyz(6.4466, 5.4229, 21.4716)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253E81 #816825
analogous
#256C81 #253E81 #3A2581
triadic
#253E81 #81253E #3E8125
tetradic
#253E81 #81256C #816825 #25813A
square
#253E81 #81256C #816825 #25813A
split-complementary
#253E81 #813A25 #6C8125
monochromatic
#0A1022 #172751 #253E81 #3355B1 #5374CE

Accessibility & contrast

On white

10.07
#253E81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#253E81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253E81
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253E81#FFFFFF#000000##FFFFFF
##253E811.0010.072.0810.07
#FFFFFF10.071.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174683
Deuteranopia (green-blind)
#003E80
Tritanopia (blue-blind)
#004E59
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #253e81;
/* rgb */ color: rgb(37, 62, 129);
/* oklch */ color: oklch(38.4% 0.117 265.7);
Tailwind
colors: {
  custom: {
    50: '#6c72a6',
    500: '#253e81',
    950: '#000000',
  },
}
SCSS
$custom: #253e81;
$custom-light: #6c72a6;
$custom-dark: #000000;
JSON
{
  "hex": "#253e81",
  "rgb": {
    "r": 37,
    "g": 62,
    "b": 129
  },
  "hsl": {
    "h": 223.696,
    "s": 55.422,
    "l": 32.549
  },
  "oklch": {
    "l": 0.38373,
    "c": 0.11719,
    "h": 265.7
  },
  "luminance": 0.05424
}

Semantic roles & 50–950 ramp

primary
#253E81
secondary
#B29750
accent
#B649DF
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #253E81

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

Preview Lab → · Contrast checker → · Palette generator →

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