#251681#251681

#251681 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.2% C 0.165 H 277.3°. Best body text is #FFFFFF at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#251681
RGBrgb(37, 22, 129)
HSLhsl(248, 71%, 30%)
HSVhsv(248, 83%, 51%)
CMYKcmyk(71.3%, 82.9%, 0%, 49.4%)
CIE-LABlab(18.15, 40.28, -56.66)
CIE-LCHlch(18.15, 69.52, 305.41°)
OKLaboklab(31.24% 0.0209 -0.1637)
OKLCHoklch(31.24% 0.165 277.3)
XYZxyz(5.0110, 2.5517, 20.9931)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251681 #728116
analogous
#163D81 #251681 #5B1681
triadic
#251681 #812516 #168125
tetradic
#251681 #81163D #728116 #16815B
square
#251681 #81163D #728116 #16815B
split-complementary
#251681 #815B16 #3D8116
monochromatic
#07041A #160D4D #251681 #341FB5 #4C35DD

Accessibility & contrast

On white

13.90
#251681 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #251681
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251681#FFFFFF#000000##FFFFFF
##2516811.0013.901.5113.90
#FFFFFF13.901.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003184
Deuteranopia (green-blind)
#00287F
Tritanopia (blue-blind)
#00374C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #251681;
/* rgb */ color: rgb(37, 22, 129);
/* oklch */ color: oklch(31.2% 0.165 277.3);
Tailwind
colors: {
  custom: {
    50: '#6f57a7',
    500: '#251681',
    950: '#000000',
  },
}
SCSS
$custom: #251681;
$custom-light: #6f57a7;
$custom-dark: #000000;
JSON
{
  "hex": "#251681",
  "rgb": {
    "r": 37,
    "g": 22,
    "b": 129
  },
  "hsl": {
    "h": 248.411,
    "s": 70.861,
    "l": 29.608
  },
  "oklch": {
    "l": 0.31237,
    "c": 0.16504,
    "h": 277.3
  },
  "luminance": 0.02552
}

Semantic roles & 50–950 ramp

primary
#251681
secondary
#A5B63D
accent
#EE3AD4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #251681

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

Preview Lab → · Contrast checker → · Palette generator →

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