#253180#253180

#253180 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.5% C 0.133 H 271.3°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#253180
RGBrgb(37, 49, 128)
HSLhsl(232, 55%, 32%)
HSVhsv(232, 71%, 50%)
CMYKcmyk(71.1%, 61.7%, 0%, 49.8%)
CIE-LABlab(24.15, 23.27, -46.17)
CIE-LCHlch(24.15, 51.70, 296.75°)
OKLaboklab(35.53% 0.003 -0.1331)
OKLCHoklch(35.53% 0.133 271.3)
XYZxyz(5.7562, 4.1479, 20.9152)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253180 #807425
analogous
#255F80 #253180 #472580
triadic
#253180 #802531 #318025
tetradic
#253180 #80255F #807425 #258047
square
#253180 #80255F #807425 #258047
split-complementary
#253180 #804725 #5F8025
monochromatic
#0A0D21 #171F51 #253180 #3343AF #5263CD

Accessibility & contrast

On white

11.48
#253180 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#253180 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253180
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253180#FFFFFF#000000##FFFFFF
##2531801.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E83
Deuteranopia (green-blind)
#00357E
Tritanopia (blue-blind)
#004553
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #253180;
/* rgb */ color: rgb(37, 49, 128);
/* oklch */ color: oklch(35.5% 0.133 271.3);
Tailwind
colors: {
  custom: {
    50: '#6c69a6',
    500: '#253180',
    950: '#000000',
  },
}
SCSS
$custom: #253180;
$custom-light: #6c69a6;
$custom-dark: #000000;
JSON
{
  "hex": "#253180",
  "rgb": {
    "r": 37,
    "g": 49,
    "b": 128
  },
  "hsl": {
    "h": 232.088,
    "s": 55.152,
    "l": 32.353
  },
  "oklch": {
    "l": 0.35527,
    "c": 0.13313,
    "h": 271.3
  },
  "luminance": 0.04148
}

Semantic roles & 50–950 ramp

primary
#253180
secondary
#B1A450
accent
#CB49DE
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08060F
muted
#7A7A7F

Preview Lab

Preview with #253180

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

Preview Lab → · Contrast checker → · Palette generator →

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