#253C8D#253C8D

#253C8D is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.9% C 0.137 H 267.5°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#253C8D
RGBrgb(37, 60, 141)
HSLhsl(227, 58%, 35%)
HSVhsv(227, 74%, 55%)
CMYKcmyk(73.8%, 57.4%, 0%, 44.7%)
CIE-LABlab(28.24, 20.72, -47.62)
CIE-LCHlch(28.24, 51.93, 293.51°)
OKLaboklab(38.91% -0.0059 -0.1372)
OKLCHoklch(38.91% 0.137 267.5)
XYZxyz(7.1849, 5.5474, 25.8862)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253C8D #8D7625
analogous
#25708D #253C8D #42258D
triadic
#253C8D #8D253C #3C8D25
tetradic
#253C8D #8D2570 #8D7625 #258D42
square
#253C8D #8D2570 #8D7625 #258D42
split-complementary
#253C8D #8D4225 #708D25
monochromatic
#0C132C #18275D #253C8D #3251BD #5974D3

Accessibility & contrast

On white

9.95
#253C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #253C8D
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253C8D#FFFFFF#000000##FFFFFF
##253C8D1.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004890
Deuteranopia (green-blind)
#003E8B
Tritanopia (blue-blind)
#00505E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #253c8d;
/* rgb */ color: rgb(37, 60, 141);
/* oklch */ color: oklch(38.9% 0.137 267.5);
Tailwind
colors: {
  custom: {
    50: '#6f71af',
    500: '#253c8d',
    950: '#000000',
  },
}
SCSS
$custom: #253c8d;
$custom-light: #6f71af;
$custom-dark: #000000;
JSON
{
  "hex": "#253c8d",
  "rgb": {
    "r": 37,
    "g": 60,
    "b": 141
  },
  "hsl": {
    "h": 226.731,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.38912,
    "c": 0.13736,
    "h": 267.5
  },
  "luminance": 0.05548
}

Semantic roles & 50–950 ramp

primary
#253C8D
secondary
#B8A256
accent
#BF46E2
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #253C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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