#251675#251675

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

Color values

HEX#251675
RGBrgb(37, 22, 117)
HSLhsl(249, 68%, 27%)
HSVhsv(249, 81%, 46%)
CMYKcmyk(68.4%, 81.2%, 0%, 54.1%)
CIE-LABlab(16.75, 36.42, -51.30)
CIE-LCHlch(16.75, 62.92, 305.38°)
OKLaboklab(29.85% 0.0244 -0.1481)
OKLCHoklch(29.85% 0.15 279.4)
XYZxyz(4.2597, 2.2511, 17.0362)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251675 #667516
analogous
#163675 #251675 #551675
triadic
#251675 #752516 #167525
tetradic
#251675 #751636 #667516 #167555
square
#251675 #751636 #667516 #167555
split-complementary
#251675 #755516 #367516
monochromatic
#08051A #150C41 #251675 #3520A9 #492ED8

Accessibility & contrast

On white

14.48
#251675 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#251675 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251675
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251675#FFFFFF#000000##FFFFFF
##2516751.0014.481.4514.48
#FFFFFF14.481.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D78
Deuteranopia (green-blind)
#002673
Tritanopia (blue-blind)
#003245
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #251675;
/* rgb */ color: rgb(37, 22, 117);
/* oklch */ color: oklch(29.9% 0.150 279.4);
Tailwind
colors: {
  custom: {
    50: '#6c569e',
    500: '#251675',
    950: '#000000',
  },
}
SCSS
$custom: #251675;
$custom-light: #6c569e;
$custom-dark: #000000;
JSON
{
  "hex": "#251675",
  "rgb": {
    "r": 37,
    "g": 22,
    "b": 117
  },
  "hsl": {
    "h": 249.474,
    "s": 68.345,
    "l": 27.255
  },
  "oklch": {
    "l": 0.29853,
    "c": 0.15013,
    "h": 279.4
  },
  "luminance": 0.02251
}

Semantic roles & 50–950 ramp

primary
#251675
secondary
#99AB3C
accent
#EB3DD0
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030E
muted
#7B787E

Preview Lab

Preview with #251675

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

Preview Lab → · Contrast checker → · Palette generator →

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