#251480#251480

#251480 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.9% C 0.166 H 277.7°. Best body text is #FFFFFF at 14.09:1 contrast (WCAG AA passes).

Color values

HEX#251480
RGBrgb(37, 20, 128)
HSLhsl(249, 73%, 29%)
HSVhsv(249, 84%, 50%)
CMYKcmyk(71.1%, 84.4%, 0%, 49.8%)
CIE-LABlab(17.70, 40.94, -56.77)
CIE-LCHlch(17.70, 70.00, 305.79°)
OKLaboklab(30.89% 0.0221 -0.164)
OKLCHoklch(30.89% 0.166 277.7)
XYZxyz(4.9081, 2.4517, 20.6325)
Luminance0.0245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251480 #6F8014
analogous
#143980 #251480 #5B1480
triadic
#251480 #802514 #148025
tetradic
#251480 #801439 #6F8014 #14805B
square
#251480 #801439 #6F8014 #14805B
split-complementary
#251480 #805B14 #398014
monochromatic
#08041A #160C4B #251480 #341CB5 #4B30DF

Accessibility & contrast

On white

14.09
#251480 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#251480 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251480
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251480#FFFFFF#000000##FFFFFF
##2514801.0014.091.4914.09
#FFFFFF14.091.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003083
Deuteranopia (green-blind)
#00277E
Tritanopia (blue-blind)
#00364B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #251480;
/* rgb */ color: rgb(37, 20, 128);
/* oklch */ color: oklch(30.9% 0.166 277.7);
Tailwind
colors: {
  custom: {
    50: '#6f56a6',
    500: '#251480',
    950: '#000000',
  },
}
SCSS
$custom: #251480;
$custom-light: #6f56a6;
$custom-dark: #000000;
JSON
{
  "hex": "#251480",
  "rgb": {
    "r": 37,
    "g": 20,
    "b": 128
  },
  "hsl": {
    "h": 249.444,
    "s": 72.973,
    "l": 29.02
  },
  "oklch": {
    "l": 0.30889,
    "c": 0.1655,
    "h": 277.7
  },
  "luminance": 0.02452
}

Semantic roles & 50–950 ramp

primary
#251480
secondary
#A2B53B
accent
#F038D3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #251480

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

Preview Lab → · Contrast checker → · Palette generator →

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