#253C81#253C81

#253C81 is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.9% C 0.120 H 266.7°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#253C81
RGBrgb(37, 60, 129)
HSLhsl(225, 55%, 33%)
HSVhsv(225, 71%, 51%)
CMYKcmyk(71.3%, 53.5%, 0%, 49.4%)
CIE-LABlab(27.32, 16.04, -41.65)
CIE-LCHlch(27.32, 44.63, 291.06°)
OKLaboklab(37.93% -0.0068 -0.1197)
OKLCHoklch(37.93% 0.12 266.7)
XYZxyz(6.3399, 5.2094, 21.4360)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253C81 #816A25
analogous
#256A81 #253C81 #3C2581
triadic
#253C81 #81253C #3C8125
tetradic
#253C81 #81256A #816A25 #25813C
square
#253C81 #81256A #816A25 #25813C
split-complementary
#253C81 #813C25 #6A8125
monochromatic
#0A1022 #172651 #253C81 #3352B1 #5371CE

Accessibility & contrast

On white

10.28
#253C81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #253C81
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253C81#FFFFFF#000000##FFFFFF
##253C811.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114583
Deuteranopia (green-blind)
#003D80
Tritanopia (blue-blind)
#004C58
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #253c81;
/* rgb */ color: rgb(37, 60, 129);
/* oklch */ color: oklch(37.9% 0.120 266.7);
Tailwind
colors: {
  custom: {
    50: '#6c71a6',
    500: '#253c81',
    950: '#000000',
  },
}
SCSS
$custom: #253c81;
$custom-light: #6c71a6;
$custom-dark: #000000;
JSON
{
  "hex": "#253c81",
  "rgb": {
    "r": 37,
    "g": 60,
    "b": 129
  },
  "hsl": {
    "h": 225,
    "s": 55.422,
    "l": 32.549
  },
  "oklch": {
    "l": 0.37929,
    "c": 0.11986,
    "h": 266.7
  },
  "luminance": 0.0521
}

Semantic roles & 50–950 ramp

primary
#253C81
secondary
#B29950
accent
#B949DF
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #253C81

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

Preview Lab → · Contrast checker → · Palette generator →

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