#251794#251794

#251794 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.6% C 0.187 H 274.6°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#251794
RGBrgb(37, 23, 148)
HSLhsl(247, 73%, 34%)
HSVhsv(247, 84%, 58%)
CMYKcmyk(75%, 84.5%, 0%, 42%)
CIE-LABlab(20.61, 45.75, -64.48)
CIE-LCHlch(20.61, 79.07, 305.35°)
OKLaboklab(33.6% 0.0148 -0.1864)
OKLCHoklch(33.6% 0.187 274.6)
XYZxyz(6.4129, 3.1436, 28.2800)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251794 #869417
analogous
#174794 #251794 #631794
triadic
#251794 #942517 #179425
tetradic
#251794 #941747 #869417 #179463
square
#251794 #941747 #869417 #179463
split-complementary
#251794 #946317 #479417
monochromatic
#0B072A #180F5F #251794 #321FC9 #5544E2

Accessibility & contrast

On white

12.89
#251794 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#251794 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251794
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251794#FFFFFF#000000##FFFFFF
##2517941.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003797
Deuteranopia (green-blind)
#002C92
Tritanopia (blue-blind)
#003F57
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #251794;
/* rgb */ color: rgb(37, 23, 148);
/* oklch */ color: oklch(33.6% 0.187 274.6);
Tailwind
colors: {
  custom: {
    50: '#7459b5',
    500: '#251794',
    950: '#000000',
  },
}
SCSS
$custom: #251794;
$custom-light: #7459b5;
$custom-dark: #000000;
JSON
{
  "hex": "#251794",
  "rgb": {
    "r": 37,
    "g": 23,
    "b": 148
  },
  "hsl": {
    "h": 246.72,
    "s": 73.099,
    "l": 33.529
  },
  "oklch": {
    "l": 0.33604,
    "c": 0.18704,
    "h": 274.6
  },
  "luminance": 0.03144
}

Semantic roles & 50–950 ramp

primary
#251794
secondary
#B4C344
accent
#F038DB
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #251794

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

Preview Lab → · Contrast checker → · Palette generator →

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