#251870#251870

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

Color values

HEX#251870
RGBrgb(37, 24, 112)
HSLhsl(249, 65%, 27%)
HSVhsv(249, 79%, 44%)
CMYKcmyk(67%, 78.6%, 0%, 56.1%)
CIE-LABlab(16.58, 33.67, -48.35)
CIE-LCHlch(16.58, 58.91, 304.85°)
OKLaboklab(29.57% 0.0246 -0.1395)
OKLCHoklch(29.57% 0.142 280)
XYZxyz(4.0133, 2.2161, 15.5424)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251870 #637018
analogous
#183770 #251870 #511870
triadic
#251870 #702518 #187025
tetradic
#251870 #701837 #637018 #187051
square
#251870 #701837 #637018 #187051
split-complementary
#251870 #705118 #377018
monochromatic
#080519 #140D3E #251870 #3623A2 #4830D3

Accessibility & contrast

On white

14.55
#251870 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #251870
14.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251870#FFFFFF#000000##FFFFFF
##2518701.0014.551.4414.55
#FFFFFF14.551.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C73
Deuteranopia (green-blind)
#00266E
Tritanopia (blue-blind)
#003143
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #251870;
/* rgb */ color: rgb(37, 24, 112);
/* oklch */ color: oklch(29.6% 0.142 280.0);
Tailwind
colors: {
  custom: {
    50: '#6b579a',
    500: '#251870',
    950: '#000000',
  },
}
SCSS
$custom: #251870;
$custom-light: #6b579a;
$custom-dark: #000000;
JSON
{
  "hex": "#251870",
  "rgb": {
    "r": 37,
    "g": 24,
    "b": 112
  },
  "hsl": {
    "h": 248.864,
    "s": 64.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.29567,
    "c": 0.14168,
    "h": 280
  },
  "luminance": 0.02216
}

Semantic roles & 50–950 ramp

primary
#251870
secondary
#96A53E
accent
#E840CF
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #251870

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

Preview Lab → · Contrast checker → · Palette generator →

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