#251677#251677

#251677 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.1% C 0.153 H 279.0°. Best body text is #FFFFFF at 14.39:1 contrast (WCAG AA passes).

Color values

HEX#251677
RGBrgb(37, 22, 119)
HSLhsl(249, 69%, 28%)
HSVhsv(249, 82%, 47%)
CMYKcmyk(68.9%, 81.5%, 0%, 53.3%)
CIE-LABlab(16.98, 37.07, -52.21)
CIE-LCHlch(16.98, 64.03, 305.38°)
OKLaboklab(30.08% 0.0239 -0.1508)
OKLCHoklch(30.08% 0.153 279)
XYZxyz(4.3786, 2.2987, 17.6621)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251677 #687716
analogous
#163877 #251677 #551677
triadic
#251677 #772516 #167725
tetradic
#251677 #771638 #687716 #167755
square
#251677 #771638 #687716 #167755
split-complementary
#251677 #775516 #387716
monochromatic
#08051A #150C43 #251677 #3520AB #492FD9

Accessibility & contrast

On white

14.39
#251677 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #251677
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251677#FFFFFF#000000##FFFFFF
##2516771.0014.391.4614.39
#FFFFFF14.391.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #251677;
/* rgb */ color: rgb(37, 22, 119);
/* oklch */ color: oklch(30.1% 0.153 279.0);
Tailwind
colors: {
  custom: {
    50: '#6d569f',
    500: '#251677',
    950: '#000000',
  },
}
SCSS
$custom: #251677;
$custom-light: #6d569f;
$custom-dark: #000000;
JSON
{
  "hex": "#251677",
  "rgb": {
    "r": 37,
    "g": 22,
    "b": 119
  },
  "hsl": {
    "h": 249.278,
    "s": 68.794,
    "l": 27.647
  },
  "oklch": {
    "l": 0.3008,
    "c": 0.15264,
    "h": 279
  },
  "luminance": 0.02299
}

Semantic roles & 50–950 ramp

primary
#251677
secondary
#9BAC3C
accent
#EC3CD0
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030F
muted
#7B787E

Preview Lab

Preview with #251677

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

Preview Lab → · Contrast checker → · Palette generator →

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