#253A86#253A86

#253A86 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 37.9% C 0.130 H 268.0°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#253A86
RGBrgb(37, 58, 134)
HSLhsl(227, 57%, 34%)
HSVhsv(227, 72%, 53%)
CMYKcmyk(72.4%, 56.7%, 0%, 47.5%)
CIE-LABlab(27.13, 19.37, -45.09)
CIE-LCHlch(27.13, 49.07, 293.26°)
OKLaboklab(37.9% -0.0046 -0.1298)
OKLCHoklch(37.9% 0.13 268)
XYZxyz(6.5776, 5.1400, 23.1951)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253A86 #867125
analogous
#256A86 #253A86 #402586
triadic
#253A86 #86253A #3A8625
tetradic
#253A86 #86256A #867125 #258640
square
#253A86 #86256A #867125 #258640
split-complementary
#253A86 #864025 #6A8625
monochromatic
#0B1026 #182556 #253A86 #324FB6 #5570D0

Accessibility & contrast

On white

10.35
#253A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#253A86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253A86
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253A86#FFFFFF#000000##FFFFFF
##253A861.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004589
Deuteranopia (green-blind)
#003C84
Tritanopia (blue-blind)
#004C5A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #253a86;
/* rgb */ color: rgb(37, 58, 134);
/* oklch */ color: oklch(37.9% 0.130 268.0);
Tailwind
colors: {
  custom: {
    50: '#6d6faa',
    500: '#253a86',
    950: '#000000',
  },
}
SCSS
$custom: #253a86;
$custom-light: #6d6faa;
$custom-dark: #000000;
JSON
{
  "hex": "#253a86",
  "rgb": {
    "r": 37,
    "g": 58,
    "b": 134
  },
  "hsl": {
    "h": 227.01,
    "s": 56.725,
    "l": 33.529
  },
  "oklch": {
    "l": 0.37904,
    "c": 0.12988,
    "h": 268
  },
  "luminance": 0.05141
}

Semantic roles & 50–950 ramp

primary
#253A86
secondary
#B49F52
accent
#BF48E0
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #253A86

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

Preview Lab → · Contrast checker → · Palette generator →

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