#251983#251983

#251983 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.8% C 0.165 H 276.6°. Best body text is #FFFFFF at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#251983
RGBrgb(37, 25, 131)
HSLhsl(247, 68%, 31%)
HSVhsv(247, 81%, 51%)
CMYKcmyk(71.8%, 80.9%, 0%, 48.6%)
CIE-LABlab(18.91, 39.39, -56.66)
CIE-LCHlch(18.91, 69.01, 304.81°)
OKLaboklab(31.84% 0.0189 -0.1638)
OKLCHoklch(31.84% 0.165 276.6)
XYZxyz(5.2060, 2.7268, 21.7203)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251983 #778319
analogous
#194283 #251983 #5A1983
triadic
#251983 #832519 #198325
tetradic
#251983 #831942 #778319 #19835A
square
#251983 #831942 #778319 #19835A
split-complementary
#251983 #835A19 #428319
monochromatic
#08051C #160F50 #251983 #3423B6 #4E3DDA

Accessibility & contrast

On white

13.59
#251983 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#251983 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251983
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251983#FFFFFF#000000##FFFFFF
##2519831.0013.591.5513.59
#FFFFFF13.591.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.591.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: #251983;
/* rgb */ color: rgb(37, 25, 131);
/* oklch */ color: oklch(31.8% 0.165 276.6);
Tailwind
colors: {
  custom: {
    50: '#6f59a8',
    500: '#251983',
    950: '#000000',
  },
}
SCSS
$custom: #251983;
$custom-light: #6f59a8;
$custom-dark: #000000;
JSON
{
  "hex": "#251983",
  "rgb": {
    "r": 37,
    "g": 25,
    "b": 131
  },
  "hsl": {
    "h": 246.792,
    "s": 67.949,
    "l": 30.588
  },
  "oklch": {
    "l": 0.31837,
    "c": 0.16485,
    "h": 276.6
  },
  "luminance": 0.02727
}

Semantic roles & 50–950 ramp

primary
#251983
secondary
#A9B741
accent
#EB3DD7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #251983

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

Preview Lab → · Contrast checker → · Palette generator →

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