#253181#253181

#253181 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.6% C 0.135 H 271.3°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#253181
RGBrgb(37, 49, 129)
HSLhsl(232, 55%, 33%)
HSVhsv(232, 71%, 51%)
CMYKcmyk(71.3%, 62%, 0%, 49.4%)
CIE-LABlab(24.24, 23.65, -46.66)
CIE-LCHlch(24.24, 52.31, 296.89°)
OKLaboklab(35.62% 0.003 -0.1345)
OKLCHoklch(35.62% 0.135 271.3)
XYZxyz(5.8224, 4.1744, 21.2635)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253181 #817525
analogous
#255F81 #253181 #472581
triadic
#253181 #812531 #318125
tetradic
#253181 #81255F #817525 #258147
square
#253181 #81255F #817525 #258147
split-complementary
#253181 #814725 #5F8125
monochromatic
#0A0D22 #171F51 #253181 #3343B1 #5363CE

Accessibility & contrast

On white

11.44
#253181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#253181 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253181
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253181#FFFFFF#000000##FFFFFF
##2531811.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E84
Deuteranopia (green-blind)
#00367F
Tritanopia (blue-blind)
#004554
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #253181;
/* rgb */ color: rgb(37, 49, 129);
/* oklch */ color: oklch(35.6% 0.135 271.3);
Tailwind
colors: {
  custom: {
    50: '#6c69a6',
    500: '#253181',
    950: '#000000',
  },
}
SCSS
$custom: #253181;
$custom-light: #6c69a6;
$custom-dark: #000000;
JSON
{
  "hex": "#253181",
  "rgb": {
    "r": 37,
    "g": 49,
    "b": 129
  },
  "hsl": {
    "h": 232.174,
    "s": 55.422,
    "l": 32.549
  },
  "oklch": {
    "l": 0.35617,
    "c": 0.13457,
    "h": 271.3
  },
  "luminance": 0.04175
}

Semantic roles & 50–950 ramp

primary
#253181
secondary
#B2A550
accent
#CB49DF
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08060F
muted
#7A7A7F

Preview Lab

Preview with #253181

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

Preview Lab → · Contrast checker → · Palette generator →

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