#251484#251484

#251484 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.4% C 0.170 H 277.0°. Best body text is #FFFFFF at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#251484
RGBrgb(37, 20, 132)
HSLhsl(249, 74%, 30%)
HSVhsv(249, 85%, 52%)
CMYKcmyk(72%, 84.8%, 0%, 48.2%)
CIE-LABlab(18.18, 42.18, -58.50)
CIE-LCHlch(18.18, 72.13, 305.79°)
OKLaboklab(31.37% 0.0208 -0.169)
OKLCHoklch(31.37% 0.17 277)
XYZxyz(5.1766, 2.5591, 22.0465)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251484 #738414
analogous
#143B84 #251484 #5D1484
triadic
#251484 #842514 #148425
tetradic
#251484 #84143B #738414 #14845D
square
#251484 #84143B #738414 #14845D
split-complementary
#251484 #845D14 #3B8414
monochromatic
#07041B #160C4F #251484 #341CB9 #4D32E0

Accessibility & contrast

On white

13.89
#251484 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#251484 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251484
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251484#FFFFFF#000000##FFFFFF
##2514841.0013.891.5113.89
#FFFFFF13.891.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003187
Deuteranopia (green-blind)
#002882
Tritanopia (blue-blind)
#00384D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #251484;
/* rgb */ color: rgb(37, 20, 132);
/* oklch */ color: oklch(31.4% 0.170 277.0);
Tailwind
colors: {
  custom: {
    50: '#7056a9',
    500: '#251484',
    950: '#000000',
  },
}
SCSS
$custom: #251484;
$custom-light: #7056a9;
$custom-dark: #000000;
JSON
{
  "hex": "#251484",
  "rgb": {
    "r": 37,
    "g": 20,
    "b": 132
  },
  "hsl": {
    "h": 249.107,
    "s": 73.684,
    "l": 29.804
  },
  "oklch": {
    "l": 0.31365,
    "c": 0.17031,
    "h": 277
  },
  "luminance": 0.0256
}

Semantic roles & 50–950 ramp

primary
#251484
secondary
#A6B93B
accent
#F037D4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #251484

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

Preview Lab → · Contrast checker → · Palette generator →

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