#253087#253087

#253087 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.0% C 0.144 H 271.4°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#253087
RGBrgb(37, 48, 135)
HSLhsl(233, 57%, 34%)
HSVhsv(233, 73%, 53%)
CMYKcmyk(72.6%, 64.4%, 0%, 47.1%)
CIE-LABlab(24.50, 26.61, -49.99)
CIE-LCHlch(24.50, 56.63, 298.03°)
OKLaboklab(35.97% 0.0037 -0.1443)
OKLCHoklch(35.97% 0.144 271.4)
XYZxyz(6.1916, 4.2559, 23.4121)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253087 #877C25
analogous
#256187 #253087 #4B2587
triadic
#253087 #872530 #308725
tetradic
#253087 #872561 #877C25 #25874B
square
#253087 #872561 #877C25 #25874B
split-complementary
#253087 #874B25 #618725
monochromatic
#0B0E27 #181F57 #253087 #3241B7 #5664D1

Accessibility & contrast

On white

11.34
#253087 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#253087 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253087
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253087#FFFFFF#000000##FFFFFF
##2530871.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8A
Deuteranopia (green-blind)
#003685
Tritanopia (blue-blind)
#004656
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #253087;
/* rgb */ color: rgb(37, 48, 135);
/* oklch */ color: oklch(36.0% 0.144 271.4);
Tailwind
colors: {
  custom: {
    50: '#6e68ab',
    500: '#253087',
    950: '#000000',
  },
}
SCSS
$custom: #253087;
$custom-light: #6e68ab;
$custom-dark: #000000;
JSON
{
  "hex": "#253087",
  "rgb": {
    "r": 37,
    "g": 48,
    "b": 135
  },
  "hsl": {
    "h": 233.265,
    "s": 56.977,
    "l": 33.725
  },
  "oklch": {
    "l": 0.35972,
    "c": 0.14439,
    "h": 271.4
  },
  "luminance": 0.04256
}

Semantic roles & 50–950 ramp

primary
#253087
secondary
#B5AA53
accent
#CF48E0
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #253087

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

Preview Lab → · Contrast checker → · Palette generator →

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