#253687#253687

#253687 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.2% C 0.137 H 269.5°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#253687
RGBrgb(37, 54, 135)
HSLhsl(230, 57%, 34%)
HSVhsv(230, 73%, 53%)
CMYKcmyk(72.6%, 60%, 0%, 47.1%)
CIE-LABlab(26.10, 22.52, -47.38)
CIE-LCHlch(26.10, 52.46, 295.42°)
OKLaboklab(37.16% -0.0011 -0.1366)
OKLCHoklch(37.16% 0.137 269.5)
XYZxyz(6.4538, 4.7803, 23.4995)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253687 #877625
analogous
#256787 #253687 #452587
triadic
#253687 #872536 #368725
tetradic
#253687 #872567 #877625 #258745
square
#253687 #872567 #877625 #258745
split-complementary
#253687 #874525 #678725
monochromatic
#0B1027 #182357 #253687 #3249B7 #566BD1

Accessibility & contrast

On white

10.74
#253687 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#253687 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253687
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253687#FFFFFF#000000##FFFFFF
##2536871.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428A
Deuteranopia (green-blind)
#003985
Tritanopia (blue-blind)
#004A59
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #253687;
/* rgb */ color: rgb(37, 54, 135);
/* oklch */ color: oklch(37.2% 0.137 269.5);
Tailwind
colors: {
  custom: {
    50: '#6e6cab',
    500: '#253687',
    950: '#000000',
  },
}
SCSS
$custom: #253687;
$custom-light: #6e6cab;
$custom-dark: #000000;
JSON
{
  "hex": "#253687",
  "rgb": {
    "r": 37,
    "g": 54,
    "b": 135
  },
  "hsl": {
    "h": 229.592,
    "s": 56.977,
    "l": 33.725
  },
  "oklch": {
    "l": 0.37157,
    "c": 0.13661,
    "h": 269.5
  },
  "luminance": 0.04781
}

Semantic roles & 50–950 ramp

primary
#253687
secondary
#B5A453
accent
#C648E0
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #253687

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

Preview Lab → · Contrast checker → · Palette generator →

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