#251692#251692

#251692 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 33.3% C 0.185 H 274.9°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#251692
RGBrgb(37, 22, 146)
HSLhsl(247, 74%, 33%)
HSVhsv(247, 85%, 57%)
CMYKcmyk(74.7%, 84.9%, 0%, 42.7%)
CIE-LABlab(20.21, 45.59, -63.91)
CIE-LCHlch(20.21, 78.50, 305.50°)
OKLaboklab(33.26% 0.0158 -0.1848)
OKLCHoklch(33.26% 0.185 274.9)
XYZxyz(6.2365, 3.0418, 27.4470)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251692 #839216
analogous
#164592 #251692 #631692
triadic
#251692 #922516 #169225
tetradic
#251692 #921645 #839216 #169263
square
#251692 #921645 #839216 #169263
split-complementary
#251692 #926316 #459216
monochromatic
#0A0628 #180E5D #251692 #321EC7 #5440E2

Accessibility & contrast

On white

13.06
#251692 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#251692 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251692
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251692#FFFFFF#000000##FFFFFF
##2516921.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003695
Deuteranopia (green-blind)
#002B90
Tritanopia (blue-blind)
#003E56
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #251692;
/* rgb */ color: rgb(37, 22, 146);
/* oklch */ color: oklch(33.3% 0.185 274.9);
Tailwind
colors: {
  custom: {
    50: '#7358b3',
    500: '#251692',
    950: '#000000',
  },
}
SCSS
$custom: #251692;
$custom-light: #7358b3;
$custom-dark: #000000;
JSON
{
  "hex": "#251692",
  "rgb": {
    "r": 37,
    "g": 22,
    "b": 146
  },
  "hsl": {
    "h": 247.258,
    "s": 73.81,
    "l": 32.941
  },
  "oklch": {
    "l": 0.33258,
    "c": 0.18543,
    "h": 274.9
  },
  "luminance": 0.03042
}

Semantic roles & 50–950 ramp

primary
#251692
secondary
#B3C341
accent
#F037DA
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #251692

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

Preview Lab → · Contrast checker → · Palette generator →

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