#253387#253387

#253387 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.6% C 0.141 H 270.5°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#253387
RGBrgb(37, 51, 135)
HSLhsl(231, 57%, 34%)
HSVhsv(231, 73%, 53%)
CMYKcmyk(72.6%, 62.2%, 0%, 47.1%)
CIE-LABlab(25.29, 24.58, -48.70)
CIE-LCHlch(25.29, 54.55, 296.78°)
OKLaboklab(36.56% 0.0013 -0.1405)
OKLCHoklch(36.56% 0.141 270.5)
XYZxyz(6.3185, 4.5096, 23.4544)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253387 #877925
analogous
#256487 #253387 #482587
triadic
#253387 #872533 #338725
tetradic
#253387 #872564 #877925 #258748
square
#253387 #872564 #877925 #258748
split-complementary
#253387 #874825 #648725
monochromatic
#0B0F27 #182157 #253387 #3245B7 #5667D1

Accessibility & contrast

On white

11.04
#253387 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#253387 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253387
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253387#FFFFFF#000000##FFFFFF
##2533871.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418A
Deuteranopia (green-blind)
#003885
Tritanopia (blue-blind)
#004858
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #253387;
/* rgb */ color: rgb(37, 51, 135);
/* oklch */ color: oklch(36.6% 0.141 270.5);
Tailwind
colors: {
  custom: {
    50: '#6e6aab',
    500: '#253387',
    950: '#000000',
  },
}
SCSS
$custom: #253387;
$custom-light: #6e6aab;
$custom-dark: #000000;
JSON
{
  "hex": "#253387",
  "rgb": {
    "r": 37,
    "g": 51,
    "b": 135
  },
  "hsl": {
    "h": 231.429,
    "s": 56.977,
    "l": 33.725
  },
  "oklch": {
    "l": 0.36555,
    "c": 0.14053,
    "h": 270.5
  },
  "luminance": 0.0451
}

Semantic roles & 50–950 ramp

primary
#253387
secondary
#B5A753
accent
#CA48E0
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #253387

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

Preview Lab → · Contrast checker → · Palette generator →

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