#253E86#253E86

#253E86 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 38.8% C 0.125 H 266.2°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#253E86
RGBrgb(37, 62, 134)
HSLhsl(225, 57%, 34%)
HSVhsv(225, 72%, 53%)
CMYKcmyk(72.4%, 53.7%, 0%, 47.5%)
CIE-LABlab(28.27, 16.61, -43.24)
CIE-LCHlch(28.27, 46.32, 291.02°)
OKLaboklab(38.77% -0.0082 -0.1243)
OKLCHoklch(38.77% 0.125 266.2)
XYZxyz(6.7871, 5.5591, 23.2650)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253E86 #866D25
analogous
#256E86 #253E86 #3C2586
triadic
#253E86 #86253E #3E8625
tetradic
#253E86 #86256E #866D25 #25863C
square
#253E86 #86256E #866D25 #25863C
split-complementary
#253E86 #863C25 #6E8625
monochromatic
#0B1226 #182856 #253E86 #3254B6 #5575D0

Accessibility & contrast

On white

9.94
#253E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #253E86
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253E86#FFFFFF#000000##FFFFFF
##253E861.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4789
Deuteranopia (green-blind)
#003E85
Tritanopia (blue-blind)
#004F5C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #253e86;
/* rgb */ color: rgb(37, 62, 134);
/* oklch */ color: oklch(38.8% 0.125 266.2);
Tailwind
colors: {
  custom: {
    50: '#6d72aa',
    500: '#253e86',
    950: '#000000',
  },
}
SCSS
$custom: #253e86;
$custom-light: #6d72aa;
$custom-dark: #000000;
JSON
{
  "hex": "#253e86",
  "rgb": {
    "r": 37,
    "g": 62,
    "b": 134
  },
  "hsl": {
    "h": 224.536,
    "s": 56.725,
    "l": 33.529
  },
  "oklch": {
    "l": 0.38766,
    "c": 0.12456,
    "h": 266.2
  },
  "luminance": 0.0556
}

Semantic roles & 50–950 ramp

primary
#253E86
secondary
#B49B52
accent
#B948E0
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #253E86

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

Preview Lab → · Contrast checker → · Palette generator →

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