#251982#251982

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

Color values

HEX#251982
RGBrgb(37, 25, 130)
HSLhsl(247, 68%, 30%)
HSVhsv(247, 81%, 51%)
CMYKcmyk(71.5%, 80.8%, 0%, 49%)
CIE-LABlab(18.80, 39.06, -56.22)
CIE-LCHlch(18.80, 68.46, 304.79°)
OKLaboklab(31.72% 0.0191 -0.1625)
OKLCHoklch(31.72% 0.164 276.7)
XYZxyz(5.1385, 2.6998, 21.3651)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251982 #768219
analogous
#194182 #251982 #591982
triadic
#251982 #822519 #198225
tetradic
#251982 #821941 #768219 #198259
square
#251982 #821941 #768219 #198259
split-complementary
#251982 #825919 #418219
monochromatic
#08051B #160F4F #251982 #3423B5 #4E3CD9

Accessibility & contrast

On white

13.64
#251982 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #251982
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251982#FFFFFF#000000##FFFFFF
##2519821.0013.641.5413.64
#FFFFFF13.641.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003285
Deuteranopia (green-blind)
#002980
Tritanopia (blue-blind)
#00394D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #251982;
/* rgb */ color: rgb(37, 25, 130);
/* oklch */ color: oklch(31.7% 0.164 276.7);
Tailwind
colors: {
  custom: {
    50: '#6f59a7',
    500: '#251982',
    950: '#000000',
  },
}
SCSS
$custom: #251982;
$custom-light: #6f59a7;
$custom-dark: #000000;
JSON
{
  "hex": "#251982",
  "rgb": {
    "r": 37,
    "g": 25,
    "b": 130
  },
  "hsl": {
    "h": 246.857,
    "s": 67.742,
    "l": 30.392
  },
  "oklch": {
    "l": 0.31722,
    "c": 0.16361,
    "h": 276.7
  },
  "luminance": 0.027
}

Semantic roles & 50–950 ramp

primary
#251982
secondary
#A9B641
accent
#EB3DD7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #251982

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

Preview Lab → · Contrast checker → · Palette generator →

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