#251680#251680

#251680 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 31.1% C 0.164 H 277.4°. Best body text is #FFFFFF at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#251680
RGBrgb(37, 22, 128)
HSLhsl(248, 71%, 29%)
HSVhsv(248, 83%, 50%)
CMYKcmyk(71.1%, 82.8%, 0%, 49.8%)
CIE-LABlab(18.03, 39.97, -56.22)
CIE-LCHlch(18.03, 68.98, 305.41°)
OKLaboklab(31.12% 0.0212 -0.1624)
OKLCHoklch(31.12% 0.164 277.4)
XYZxyz(4.9449, 2.5252, 20.6447)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251680 #718016
analogous
#163C80 #251680 #5A1680
triadic
#251680 #802516 #168025
tetradic
#251680 #80163C #718016 #16805A
square
#251680 #80163C #718016 #16805A
split-complementary
#251680 #805A16 #3C8016
monochromatic
#08041A #160D4C #251680 #341FB4 #4C34DC

Accessibility & contrast

On white

13.95
#251680 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #251680
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251680#FFFFFF#000000##FFFFFF
##2516801.0013.951.5113.95
#FFFFFF13.951.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003083
Deuteranopia (green-blind)
#00287E
Tritanopia (blue-blind)
#00374B
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #251680;
/* rgb */ color: rgb(37, 22, 128);
/* oklch */ color: oklch(31.1% 0.164 277.4);
Tailwind
colors: {
  custom: {
    50: '#6f57a6',
    500: '#251680',
    950: '#000000',
  },
}
SCSS
$custom: #251680;
$custom-light: #6f57a6;
$custom-dark: #000000;
JSON
{
  "hex": "#251680",
  "rgb": {
    "r": 37,
    "g": 22,
    "b": 128
  },
  "hsl": {
    "h": 248.491,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.3112,
    "c": 0.16382,
    "h": 277.4
  },
  "luminance": 0.02526
}

Semantic roles & 50–950 ramp

primary
#251680
secondary
#A4B53D
accent
#ED3AD4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #251680

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

Preview Lab → · Contrast checker → · Palette generator →

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