#253D84#253D84

#253D84 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.4% C 0.123 H 266.5°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#253D84
RGBrgb(37, 61, 132)
HSLhsl(225, 56%, 33%)
HSVhsv(225, 72%, 52%)
CMYKcmyk(72%, 53.8%, 0%, 48.2%)
CIE-LABlab(27.83, 16.52, -42.70)
CIE-LCHlch(27.83, 45.78, 291.15°)
OKLaboklab(38.39% -0.0075 -0.1227)
OKLCHoklch(38.39% 0.123 266.5)
XYZxyz(6.5951, 5.3961, 22.5193)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253D84 #846C25
analogous
#256C84 #253D84 #3C2584
triadic
#253D84 #84253D #3D8425
tetradic
#253D84 #84256C #846C25 #25843C
square
#253D84 #84256C #846C25 #25843C
split-complementary
#253D84 #843C25 #6C8425
monochromatic
#0A1124 #182754 #253D84 #3253B4 #5473CF

Accessibility & contrast

On white

10.10
#253D84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #253D84
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253D84#FFFFFF#000000##FFFFFF
##253D841.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4687
Deuteranopia (green-blind)
#003E83
Tritanopia (blue-blind)
#004E5A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #253d84;
/* rgb */ color: rgb(37, 61, 132);
/* oklch */ color: oklch(38.4% 0.123 266.5);
Tailwind
colors: {
  custom: {
    50: '#6c72a8',
    500: '#253d84',
    950: '#000000',
  },
}
SCSS
$custom: #253d84;
$custom-light: #6c72a8;
$custom-dark: #000000;
JSON
{
  "hex": "#253d84",
  "rgb": {
    "r": 37,
    "g": 61,
    "b": 132
  },
  "hsl": {
    "h": 224.842,
    "s": 56.213,
    "l": 33.137
  },
  "oklch": {
    "l": 0.38387,
    "c": 0.12296,
    "h": 266.5
  },
  "luminance": 0.05397
}

Semantic roles & 50–950 ramp

primary
#253D84
secondary
#B39B51
accent
#B948E0
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #253D84

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

Preview Lab → · Contrast checker → · Palette generator →

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