#251676#251676

#251676 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.0% C 0.151 H 279.2°. Best body text is #FFFFFF at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#251676
RGBrgb(37, 22, 118)
HSLhsl(249, 69%, 27%)
HSVhsv(249, 81%, 46%)
CMYKcmyk(68.6%, 81.4%, 0%, 53.7%)
CIE-LABlab(16.87, 36.75, -51.75)
CIE-LCHlch(16.87, 63.47, 305.38°)
OKLaboklab(29.97% 0.0241 -0.1494)
OKLCHoklch(29.97% 0.151 279.2)
XYZxyz(4.3188, 2.2748, 17.3475)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251676 #677616
analogous
#163776 #251676 #551676
triadic
#251676 #762516 #167625
tetradic
#251676 #761637 #677616 #167655
square
#251676 #761637 #677616 #167655
split-complementary
#251676 #765516 #377616
monochromatic
#08051A #150C42 #251676 #3520AA #492ED8

Accessibility & contrast

On white

14.43
#251676 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#251676 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251676
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251676#FFFFFF#000000##FFFFFF
##2516761.0014.431.4614.43
#FFFFFF14.431.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D79
Deuteranopia (green-blind)
#002674
Tritanopia (blue-blind)
#003346
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #251676;
/* rgb */ color: rgb(37, 22, 118);
/* oklch */ color: oklch(30.0% 0.151 279.2);
Tailwind
colors: {
  custom: {
    50: '#6c569f',
    500: '#251676',
    950: '#000000',
  },
}
SCSS
$custom: #251676;
$custom-light: #6c569f;
$custom-dark: #000000;
JSON
{
  "hex": "#251676",
  "rgb": {
    "r": 37,
    "g": 22,
    "b": 118
  },
  "hsl": {
    "h": 249.375,
    "s": 68.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.29966,
    "c": 0.15139,
    "h": 279.2
  },
  "luminance": 0.02275
}

Semantic roles & 50–950 ramp

primary
#251676
secondary
#9AAC3C
accent
#EB3CD0
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030F
muted
#7B787E

Preview Lab

Preview with #251676

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

Preview Lab → · Contrast checker → · Palette generator →

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