#251883#251883

#251883 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.7% C 0.166 H 276.7°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#251883
RGBrgb(37, 24, 131)
HSLhsl(247, 69%, 30%)
HSVhsv(247, 82%, 51%)
CMYKcmyk(71.8%, 81.7%, 0%, 48.6%)
CIE-LABlab(18.73, 39.91, -56.96)
CIE-LCHlch(18.73, 69.55, 305.02°)
OKLaboklab(31.71% 0.0194 -0.1646)
OKLCHoklch(31.71% 0.166 276.7)
XYZxyz(5.1850, 2.6848, 21.7133)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251883 #768318
analogous
#184083 #251883 #5A1883
triadic
#251883 #832518 #188325
tetradic
#251883 #831840 #768318 #18835A
square
#251883 #831840 #768318 #18835A
split-complementary
#251883 #835A18 #408318
monochromatic
#08051C #160F4F #251883 #3421B7 #4E3ADB

Accessibility & contrast

On white

13.66
#251883 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#251883 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251883
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251883#FFFFFF#000000##FFFFFF
##2518831.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003286
Deuteranopia (green-blind)
#002981
Tritanopia (blue-blind)
#00394E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #251883;
/* rgb */ color: rgb(37, 24, 131);
/* oklch */ color: oklch(31.7% 0.166 276.7);
Tailwind
colors: {
  custom: {
    50: '#6f58a8',
    500: '#251883',
    950: '#000000',
  },
}
SCSS
$custom: #251883;
$custom-light: #6f58a8;
$custom-dark: #000000;
JSON
{
  "hex": "#251883",
  "rgb": {
    "r": 37,
    "g": 24,
    "b": 131
  },
  "hsl": {
    "h": 247.29,
    "s": 69.032,
    "l": 30.392
  },
  "oklch": {
    "l": 0.31711,
    "c": 0.16575,
    "h": 276.7
  },
  "luminance": 0.02685
}

Semantic roles & 50–950 ramp

primary
#251883
secondary
#A9B740
accent
#EC3CD6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #251883

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

Preview Lab → · Contrast checker → · Palette generator →

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