#253B84#253B84

#253B84 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.0% C 0.126 H 267.4°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#253B84
RGBrgb(37, 59, 132)
HSLhsl(226, 56%, 33%)
HSVhsv(226, 72%, 52%)
CMYKcmyk(72%, 55.3%, 0%, 48.2%)
CIE-LABlab(27.26, 17.90, -43.63)
CIE-LCHlch(27.26, 47.16, 292.31°)
OKLaboklab(37.95% -0.0056 -0.1255)
OKLCHoklch(37.95% 0.126 267.4)
XYZxyz(6.4903, 5.1865, 22.4844)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253B84 #846E25
analogous
#256A84 #253B84 #3E2584
triadic
#253B84 #84253B #3B8425
tetradic
#253B84 #84256A #846E25 #25843E
square
#253B84 #84256A #846E25 #25843E
split-complementary
#253B84 #843E25 #6A8425
monochromatic
#0A1024 #182654 #253B84 #3250B4 #5471CF

Accessibility & contrast

On white

10.31
#253B84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #253B84
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253B84#FFFFFF#000000##FFFFFF
##253B841.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#054587
Deuteranopia (green-blind)
#003C83
Tritanopia (blue-blind)
#004D59
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #253b84;
/* rgb */ color: rgb(37, 59, 132);
/* oklch */ color: oklch(38.0% 0.126 267.4);
Tailwind
colors: {
  custom: {
    50: '#6c70a8',
    500: '#253b84',
    950: '#000000',
  },
}
SCSS
$custom: #253b84;
$custom-light: #6c70a8;
$custom-dark: #000000;
JSON
{
  "hex": "#253b84",
  "rgb": {
    "r": 37,
    "g": 59,
    "b": 132
  },
  "hsl": {
    "h": 226.105,
    "s": 56.213,
    "l": 33.137
  },
  "oklch": {
    "l": 0.37953,
    "c": 0.12563,
    "h": 267.4
  },
  "luminance": 0.05187
}

Semantic roles & 50–950 ramp

primary
#253B84
secondary
#B39D51
accent
#BC48E0
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #253B84

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

Preview Lab → · Contrast checker → · Palette generator →

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