#251384#251384

#251384 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 31.3% C 0.171 H 277.1°. Best body text is #FFFFFF at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#251384
RGBrgb(37, 19, 132)
HSLhsl(250, 75%, 30%)
HSVhsv(250, 86%, 52%)
CMYKcmyk(72%, 85.6%, 0%, 48.2%)
CIE-LABlab(18.03, 42.64, -58.76)
CIE-LCHlch(18.03, 72.60, 305.97°)
OKLaboklab(31.26% 0.0212 -0.1698)
OKLCHoklch(31.26% 0.171 277.1)
XYZxyz(5.1593, 2.5245, 22.0407)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251384 #728413
analogous
#133984 #251384 #5E1384
triadic
#251384 #842513 #138425
tetradic
#251384 #841339 #728413 #13845E
square
#251384 #841339 #728413 #13845E
split-complementary
#251384 #845E13 #398413
monochromatic
#07041B #160B4F #251384 #341BB9 #4C30E1

Accessibility & contrast

On white

13.95
#251384 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#251384 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251384
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251384#FFFFFF#000000##FFFFFF
##2513841.0013.951.5113.95
#FFFFFF13.951.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003087
Deuteranopia (green-blind)
#002782
Tritanopia (blue-blind)
#00374D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #251384;
/* rgb */ color: rgb(37, 19, 132);
/* oklch */ color: oklch(31.3% 0.171 277.1);
Tailwind
colors: {
  custom: {
    50: '#7056a9',
    500: '#251384',
    950: '#000000',
  },
}
SCSS
$custom: #251384;
$custom-light: #7056a9;
$custom-dark: #000000;
JSON
{
  "hex": "#251384",
  "rgb": {
    "r": 37,
    "g": 19,
    "b": 132
  },
  "hsl": {
    "h": 249.558,
    "s": 74.834,
    "l": 29.608
  },
  "oklch": {
    "l": 0.31258,
    "c": 0.17109,
    "h": 277.1
  },
  "luminance": 0.02525
}

Semantic roles & 50–950 ramp

primary
#251384
secondary
#A5B93A
accent
#F136D4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #251384

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

Preview Lab → · Contrast checker → · Palette generator →

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