#253380#253380

#253380 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 35.9% C 0.130 H 270.6°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#253380
RGBrgb(37, 51, 128)
HSLhsl(231, 55%, 32%)
HSVhsv(231, 71%, 50%)
CMYKcmyk(71.1%, 60.2%, 0%, 49.8%)
CIE-LABlab(24.70, 21.89, -45.28)
CIE-LCHlch(24.70, 50.29, 295.80°)
OKLaboklab(35.93% 0.0013 -0.1305)
OKLCHoklch(35.93% 0.13 270.6)
XYZxyz(5.8417, 4.3189, 20.9437)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253380 #807225
analogous
#256180 #253380 #442580
triadic
#253380 #802533 #338025
tetradic
#253380 #802561 #807225 #258044
square
#253380 #802561 #807225 #258044
split-complementary
#253380 #804425 #618025
monochromatic
#0A0D21 #172051 #253380 #3346AF #5265CD

Accessibility & contrast

On white

11.27
#253380 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#253380 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253380
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253380#FFFFFF#000000##FFFFFF
##2533801.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F83
Deuteranopia (green-blind)
#00377E
Tritanopia (blue-blind)
#004654
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #253380;
/* rgb */ color: rgb(37, 51, 128);
/* oklch */ color: oklch(35.9% 0.130 270.6);
Tailwind
colors: {
  custom: {
    50: '#6c6aa5',
    500: '#253380',
    950: '#000000',
  },
}
SCSS
$custom: #253380;
$custom-light: #6c6aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#253380",
  "rgb": {
    "r": 37,
    "g": 51,
    "b": 128
  },
  "hsl": {
    "h": 230.769,
    "s": 55.152,
    "l": 32.353
  },
  "oklch": {
    "l": 0.35932,
    "c": 0.13048,
    "h": 270.6
  },
  "luminance": 0.04319
}

Semantic roles & 50–950 ramp

primary
#253380
secondary
#B1A250
accent
#C849DE
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08060F
muted
#7A7A7F

Preview Lab

Preview with #253380

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

Preview Lab → · Contrast checker → · Palette generator →

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