#253388#253388

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

Color values

HEX#253388
RGBrgb(37, 51, 136)
HSLhsl(232, 57%, 34%)
HSVhsv(232, 73%, 53%)
CMYKcmyk(72.8%, 62.5%, 0%, 46.7%)
CIE-LABlab(25.38, 24.96, -49.19)
CIE-LCHlch(25.38, 55.16, 296.90°)
OKLaboklab(36.65% 0.0013 -0.1419)
OKLCHoklch(36.65% 0.142 270.5)
XYZxyz(6.3892, 4.5379, 23.8270)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253388 #887A25
analogous
#256588 #253388 #492588
triadic
#253388 #882533 #338825
tetradic
#253388 #882565 #887A25 #258849
square
#253388 #882565 #887A25 #258849
split-complementary
#253388 #884925 #658825
monochromatic
#0B0F28 #182158 #253388 #3245B8 #5668D1

Accessibility & contrast

On white

11.01
#253388 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#253388 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253388
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253388#FFFFFF#000000##FFFFFF
##2533881.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #253388;
/* rgb */ color: rgb(37, 51, 136);
/* oklch */ color: oklch(36.6% 0.142 270.5);
Tailwind
colors: {
  custom: {
    50: '#6e6aab',
    500: '#253388',
    950: '#000000',
  },
}
SCSS
$custom: #253388;
$custom-light: #6e6aab;
$custom-dark: #000000;
JSON
{
  "hex": "#253388",
  "rgb": {
    "r": 37,
    "g": 51,
    "b": 136
  },
  "hsl": {
    "h": 231.515,
    "s": 57.225,
    "l": 33.922
  },
  "oklch": {
    "l": 0.36646,
    "c": 0.14195,
    "h": 270.5
  },
  "luminance": 0.04539
}

Semantic roles & 50–950 ramp

primary
#253388
secondary
#B6A853
accent
#CB47E0
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #253388

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

Preview Lab → · Contrast checker → · Palette generator →

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