#251487#251487

#251487 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.7% C 0.174 H 276.6°. Best body text is #FFFFFF at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#251487
RGBrgb(37, 20, 135)
HSLhsl(249, 74%, 30%)
HSVhsv(249, 85%, 53%)
CMYKcmyk(72.6%, 85.2%, 0%, 47.1%)
CIE-LABlab(18.55, 43.11, -59.79)
CIE-LCHlch(18.55, 73.71, 305.79°)
OKLaboklab(31.72% 0.0198 -0.1728)
OKLCHoklch(31.72% 0.174 276.6)
XYZxyz(5.3849, 2.6424, 23.1432)
Luminance0.0264 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251487 #768714
analogous
#143C87 #251487 #5F1487
triadic
#251487 #872514 #148725
tetradic
#251487 #87143C #768714 #14875F
square
#251487 #87143C #768714 #14875F
split-complementary
#251487 #875F14 #3C8714
monochromatic
#08041C #160C52 #251487 #341CBC #4E34E1

Accessibility & contrast

On white

13.74
#251487 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#251487 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251487
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251487#FFFFFF#000000##FFFFFF
##2514871.0013.741.5313.74
#FFFFFF13.741.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00328A
Deuteranopia (green-blind)
#002885
Tritanopia (blue-blind)
#00394F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #251487;
/* rgb */ color: rgb(37, 20, 135);
/* oklch */ color: oklch(31.7% 0.174 276.6);
Tailwind
colors: {
  custom: {
    50: '#7156ab',
    500: '#251487',
    950: '#000000',
  },
}
SCSS
$custom: #251487;
$custom-light: #7156ab;
$custom-dark: #000000;
JSON
{
  "hex": "#251487",
  "rgb": {
    "r": 37,
    "g": 20,
    "b": 135
  },
  "hsl": {
    "h": 248.87,
    "s": 74.194,
    "l": 30.392
  },
  "oklch": {
    "l": 0.31724,
    "c": 0.17391,
    "h": 276.6
  },
  "luminance": 0.02643
}

Semantic roles & 50–950 ramp

primary
#251487
secondary
#A9BB3B
accent
#F137D5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #251487

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

Preview Lab → · Contrast checker → · Palette generator →

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