#251886#251886

#251886 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.1% C 0.169 H 276.3°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#251886
RGBrgb(37, 24, 134)
HSLhsl(247, 70%, 31%)
HSVhsv(247, 82%, 53%)
CMYKcmyk(72.4%, 82.1%, 0%, 47.5%)
CIE-LABlab(19.09, 40.88, -58.27)
CIE-LCHlch(19.09, 71.18, 305.05°)
OKLaboklab(32.06% 0.0185 -0.1684)
OKLCHoklch(32.06% 0.169 276.3)
XYZxyz(5.3913, 2.7673, 22.7997)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251886 #798618
analogous
#184286 #251886 #5C1886
triadic
#251886 #862518 #188625
tetradic
#251886 #861842 #798618 #18865C
square
#251886 #861842 #798618 #18865C
split-complementary
#251886 #865C18 #428618
monochromatic
#08051E #170F52 #251886 #3321BA #4F3CDC

Accessibility & contrast

On white

13.52
#251886 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#251886 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251886
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251886#FFFFFF#000000##FFFFFF
##2518861.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003389
Deuteranopia (green-blind)
#002984
Tritanopia (blue-blind)
#003A4F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #251886;
/* rgb */ color: rgb(37, 24, 134);
/* oklch */ color: oklch(32.1% 0.169 276.3);
Tailwind
colors: {
  custom: {
    50: '#7058aa',
    500: '#251886',
    950: '#000000',
  },
}
SCSS
$custom: #251886;
$custom-light: #7058aa;
$custom-dark: #000000;
JSON
{
  "hex": "#251886",
  "rgb": {
    "r": 37,
    "g": 24,
    "b": 134
  },
  "hsl": {
    "h": 247.091,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.3206,
    "c": 0.16944,
    "h": 276.3
  },
  "luminance": 0.02768
}

Semantic roles & 50–950 ramp

primary
#251886
secondary
#ABBA40
accent
#EC3BD8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #251886

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

Preview Lab → · Contrast checker → · Palette generator →

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