#253F86#253F86

#253F86 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.0% C 0.123 H 265.8°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#253F86
RGBrgb(37, 63, 134)
HSLhsl(224, 57%, 34%)
HSVhsv(224, 72%, 53%)
CMYKcmyk(72.4%, 53%, 0%, 47.5%)
CIE-LABlab(28.56, 15.92, -42.77)
CIE-LCHlch(28.56, 45.64, 290.42°)
OKLaboklab(38.99% -0.0091 -0.1229)
OKLCHoklch(38.99% 0.123 265.8)
XYZxyz(6.8420, 5.6689, 23.2832)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253F86 #866C25
analogous
#256F86 #253F86 #3C2586
triadic
#253F86 #86253F #3F8625
tetradic
#253F86 #86256F #866C25 #25863C
square
#253F86 #86256F #866C25 #25863C
split-complementary
#253F86 #863C25 #6F8625
monochromatic
#0B1226 #182856 #253F86 #3256B6 #5576D0

Accessibility & contrast

On white

9.84
#253F86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#253F86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253F86
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253F86#FFFFFF#000000##FFFFFF
##253F861.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134889
Deuteranopia (green-blind)
#003F85
Tritanopia (blue-blind)
#00505C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #253f86;
/* rgb */ color: rgb(37, 63, 134);
/* oklch */ color: oklch(39.0% 0.123 265.8);
Tailwind
colors: {
  custom: {
    50: '#6d73aa',
    500: '#253f86',
    950: '#000000',
  },
}
SCSS
$custom: #253f86;
$custom-light: #6d73aa;
$custom-dark: #000000;
JSON
{
  "hex": "#253f86",
  "rgb": {
    "r": 37,
    "g": 63,
    "b": 134
  },
  "hsl": {
    "h": 223.918,
    "s": 56.725,
    "l": 33.529
  },
  "oklch": {
    "l": 0.38985,
    "c": 0.12324,
    "h": 265.8
  },
  "luminance": 0.0567
}

Semantic roles & 50–950 ramp

primary
#253F86
secondary
#B49A52
accent
#B748E0
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #253F86

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

Preview Lab → · Contrast checker → · Palette generator →

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