#251674#251674

#251674 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.7% C 0.149 H 279.6°. Best body text is #FFFFFF at 14.53:1 contrast (WCAG AA passes).

Color values

HEX#251674
RGBrgb(37, 22, 116)
HSLhsl(250, 68%, 27%)
HSVhsv(250, 81%, 45%)
CMYKcmyk(68.1%, 81%, 0%, 54.5%)
CIE-LABlab(16.64, 36.10, -50.84)
CIE-LCHlch(16.64, 62.35, 305.38°)
OKLaboklab(29.74% 0.0247 -0.1468)
OKLCHoklch(29.74% 0.149 279.6)
XYZxyz(4.2012, 2.2277, 16.7282)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251674 #657416
analogous
#163674 #251674 #541674
triadic
#251674 #742516 #167425
tetradic
#251674 #741636 #657416 #167454
square
#251674 #741636 #657416 #167454
split-complementary
#251674 #745416 #367416
monochromatic
#08051A #150C41 #251674 #3520A7 #482DD7

Accessibility & contrast

On white

14.53
#251674 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #251674
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251674#FFFFFF#000000##FFFFFF
##2516741.0014.531.4514.53
#FFFFFF14.531.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #251674;
/* rgb */ color: rgb(37, 22, 116);
/* oklch */ color: oklch(29.7% 0.149 279.6);
Tailwind
colors: {
  custom: {
    50: '#6c569d',
    500: '#251674',
    950: '#000000',
  },
}
SCSS
$custom: #251674;
$custom-light: #6c569d;
$custom-dark: #000000;
JSON
{
  "hex": "#251674",
  "rgb": {
    "r": 37,
    "g": 22,
    "b": 116
  },
  "hsl": {
    "h": 249.574,
    "s": 68.116,
    "l": 27.059
  },
  "oklch": {
    "l": 0.29739,
    "c": 0.14886,
    "h": 279.6
  },
  "luminance": 0.02228
}

Semantic roles & 50–950 ramp

primary
#251674
secondary
#98AA3C
accent
#EB3DCF
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030E
muted
#7A787E

Preview Lab

Preview with #251674

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

Preview Lab → · Contrast checker → · Palette generator →

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