#253786#253786

#253786 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.3% C 0.134 H 269.1°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#253786
RGBrgb(37, 55, 134)
HSLhsl(229, 57%, 34%)
HSVhsv(229, 72%, 53%)
CMYKcmyk(72.4%, 59%, 0%, 47.5%)
CIE-LABlab(26.29, 21.45, -46.45)
CIE-LCHlch(26.29, 51.16, 294.78°)
OKLaboklab(37.28% -0.002 -0.1338)
OKLCHoklch(37.28% 0.134 269.1)
XYZxyz(6.4307, 4.8463, 23.1462)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253786 #867425
analogous
#256786 #253786 #432586
triadic
#253786 #862537 #378625
tetradic
#253786 #862567 #867425 #258643
square
#253786 #862567 #867425 #258643
split-complementary
#253786 #864325 #678625
monochromatic
#0B1026 #182356 #253786 #324BB6 #556CD0

Accessibility & contrast

On white

10.66
#253786 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#253786 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253786
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253786#FFFFFF#000000##FFFFFF
##2537861.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004389
Deuteranopia (green-blind)
#003A84
Tritanopia (blue-blind)
#004A59
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #253786;
/* rgb */ color: rgb(37, 55, 134);
/* oklch */ color: oklch(37.3% 0.134 269.1);
Tailwind
colors: {
  custom: {
    50: '#6d6daa',
    500: '#253786',
    950: '#000000',
  },
}
SCSS
$custom: #253786;
$custom-light: #6d6daa;
$custom-dark: #000000;
JSON
{
  "hex": "#253786",
  "rgb": {
    "r": 37,
    "g": 55,
    "b": 134
  },
  "hsl": {
    "h": 228.866,
    "s": 56.725,
    "l": 33.529
  },
  "oklch": {
    "l": 0.37275,
    "c": 0.13385,
    "h": 269.1
  },
  "luminance": 0.04847
}

Semantic roles & 50–950 ramp

primary
#253786
secondary
#B4A252
accent
#C448E0
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #253786

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

Preview Lab → · Contrast checker → · Palette generator →

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