#253984#253984

#253984 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.5% C 0.128 H 268.3°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#253984
RGBrgb(37, 57, 132)
HSLhsl(227, 56%, 33%)
HSVhsv(227, 72%, 52%)
CMYKcmyk(72%, 56.8%, 0%, 48.2%)
CIE-LABlab(26.69, 19.29, -44.55)
CIE-LCHlch(26.69, 48.55, 293.41°)
OKLaboklab(37.53% -0.0038 -0.1282)
OKLCHoklch(37.53% 0.128 268.3)
XYZxyz(6.3895, 4.9849, 22.4508)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253984 #847025
analogous
#256884 #253984 #402584
triadic
#253984 #842539 #398425
tetradic
#253984 #842568 #847025 #258440
square
#253984 #842568 #847025 #258440
split-complementary
#253984 #844025 #688425
monochromatic
#0A1024 #182454 #253984 #324EB4 #546ECF

Accessibility & contrast

On white

10.51
#253984 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#253984 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253984
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253984#FFFFFF#000000##FFFFFF
##2539841.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004487
Deuteranopia (green-blind)
#003B83
Tritanopia (blue-blind)
#004B58
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #253984;
/* rgb */ color: rgb(37, 57, 132);
/* oklch */ color: oklch(37.5% 0.128 268.3);
Tailwind
colors: {
  custom: {
    50: '#6d6fa8',
    500: '#253984',
    950: '#000000',
  },
}
SCSS
$custom: #253984;
$custom-light: #6d6fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#253984",
  "rgb": {
    "r": 37,
    "g": 57,
    "b": 132
  },
  "hsl": {
    "h": 227.368,
    "s": 56.213,
    "l": 33.137
  },
  "oklch": {
    "l": 0.37525,
    "c": 0.1283,
    "h": 268.3
  },
  "luminance": 0.04986
}

Semantic roles & 50–950 ramp

primary
#253984
secondary
#B39F51
accent
#C048E0
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #253984

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

Preview Lab → · Contrast checker → · Palette generator →

#253984 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva