#251776#251776

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

Color values

HEX#251776
RGBrgb(37, 23, 118)
HSLhsl(249, 67%, 28%)
HSVhsv(249, 81%, 46%)
CMYKcmyk(68.6%, 80.5%, 0%, 53.7%)
CIE-LABlab(17.05, 36.21, -51.45)
CIE-LCHlch(17.05, 62.91, 305.14°)
OKLaboklab(30.1% 0.0236 -0.1486)
OKLCHoklch(30.1% 0.15 279)
XYZxyz(4.3383, 2.3138, 17.3540)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251776 #687617
analogous
#173976 #251776 #541776
triadic
#251776 #762517 #177625
tetradic
#251776 #761739 #687617 #177654
square
#251776 #761739 #687617 #177654
split-complementary
#251776 #765417 #397617
monochromatic
#08051A #150D43 #251776 #3521A9 #4931D7

Accessibility & contrast

On white

14.36
#251776 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #251776
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251776#FFFFFF#000000##FFFFFF
##2517761.0014.361.4614.36
#FFFFFF14.361.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #251776;
/* rgb */ color: rgb(37, 23, 118);
/* oklch */ color: oklch(30.1% 0.150 279.0);
Tailwind
colors: {
  custom: {
    50: '#6c579f',
    500: '#251776',
    950: '#000000',
  },
}
SCSS
$custom: #251776;
$custom-light: #6c579f;
$custom-dark: #000000;
JSON
{
  "hex": "#251776",
  "rgb": {
    "r": 37,
    "g": 23,
    "b": 118
  },
  "hsl": {
    "h": 248.842,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.30097,
    "c": 0.15043,
    "h": 279
  },
  "luminance": 0.02314
}

Semantic roles & 50–950 ramp

primary
#251776
secondary
#9BAB3E
accent
#EA3ED1
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030F
muted
#7B787E

Preview Lab

Preview with #251776

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

Preview Lab → · Contrast checker → · Palette generator →

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