#251673#251673

#251673 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.6% C 0.148 H 279.8°. Best body text is #FFFFFF at 14.57:1 contrast (WCAG AA passes).

Color values

HEX#251673
RGBrgb(37, 22, 115)
HSLhsl(250, 68%, 27%)
HSVhsv(250, 81%, 45%)
CMYKcmyk(67.8%, 80.9%, 0%, 54.9%)
CIE-LABlab(16.53, 35.77, -50.38)
CIE-LCHlch(16.53, 61.79, 305.37°)
OKLaboklab(29.63% 0.025 -0.1455)
OKLCHoklch(29.63% 0.148 279.8)
XYZxyz(4.1434, 2.2046, 16.4235)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251673 #647316
analogous
#163673 #251673 #541673
triadic
#251673 #732516 #167325
tetradic
#251673 #731636 #647316 #167354
square
#251673 #731636 #647316 #167354
split-complementary
#251673 #735416 #367316
monochromatic
#08051A #140C40 #251673 #3620A6 #482DD7

Accessibility & contrast

On white

14.57
#251673 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#251673 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251673
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251673#FFFFFF#000000##FFFFFF
##2516731.0014.571.4414.57
#FFFFFF14.571.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C76
Deuteranopia (green-blind)
#002571
Tritanopia (blue-blind)
#003244
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #251673;
/* rgb */ color: rgb(37, 22, 115);
/* oklch */ color: oklch(29.6% 0.148 279.8);
Tailwind
colors: {
  custom: {
    50: '#6c569c',
    500: '#251673',
    950: '#000000',
  },
}
SCSS
$custom: #251673;
$custom-light: #6c569c;
$custom-dark: #000000;
JSON
{
  "hex": "#251673",
  "rgb": {
    "r": 37,
    "g": 22,
    "b": 115
  },
  "hsl": {
    "h": 249.677,
    "s": 67.883,
    "l": 26.863
  },
  "oklch": {
    "l": 0.29626,
    "c": 0.1476,
    "h": 279.8
  },
  "luminance": 0.02205
}

Semantic roles & 50–950 ramp

primary
#251673
secondary
#97A93C
accent
#EB3DCF
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030E
muted
#7A787E

Preview Lab

Preview with #251673

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

Preview Lab → · Contrast checker → · Palette generator →

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