#251885#251885

#251885 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.9% C 0.168 H 276.4°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#251885
RGBrgb(37, 24, 133)
HSLhsl(247, 69%, 31%)
HSVhsv(247, 82%, 52%)
CMYKcmyk(72.2%, 82%, 0%, 47.8%)
CIE-LABlab(18.97, 40.56, -57.84)
CIE-LCHlch(18.97, 70.64, 305.04°)
OKLaboklab(31.94% 0.0188 -0.1672)
OKLCHoklch(31.94% 0.168 276.4)
XYZxyz(5.3218, 2.7395, 22.4341)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251885 #788518
analogous
#184185 #251885 #5B1885
triadic
#251885 #852518 #188525
tetradic
#251885 #851841 #788518 #18855B
square
#251885 #851841 #788518 #18855B
split-complementary
#251885 #855B18 #418518
monochromatic
#08051D #170F51 #251885 #3321B9 #4F3CDC

Accessibility & contrast

On white

13.57
#251885 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #251885
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251885#FFFFFF#000000##FFFFFF
##2518851.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #251885;
/* rgb */ color: rgb(37, 24, 133);
/* oklch */ color: oklch(31.9% 0.168 276.4);
Tailwind
colors: {
  custom: {
    50: '#7058aa',
    500: '#251885',
    950: '#000000',
  },
}
SCSS
$custom: #251885;
$custom-light: #7058aa;
$custom-dark: #000000;
JSON
{
  "hex": "#251885",
  "rgb": {
    "r": 37,
    "g": 24,
    "b": 133
  },
  "hsl": {
    "h": 247.156,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.31943,
    "c": 0.16822,
    "h": 276.4
  },
  "luminance": 0.0274
}

Semantic roles & 50–950 ramp

primary
#251885
secondary
#AAB940
accent
#EC3CD7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #251885

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

Preview Lab → · Contrast checker → · Palette generator →

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