#251980#251980

#251980 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.5% C 0.161 H 277.0°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#251980
RGBrgb(37, 25, 128)
HSLhsl(247, 67%, 30%)
HSVhsv(247, 80%, 50%)
CMYKcmyk(71.1%, 80.5%, 0%, 49.8%)
CIE-LABlab(18.57, 38.41, -55.33)
CIE-LCHlch(18.57, 67.36, 304.77°)
OKLaboklab(31.49% 0.0197 -0.1599)
OKLCHoklch(31.49% 0.161 277)
XYZxyz(5.0056, 2.6466, 20.6649)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251980 #748019
analogous
#194180 #251980 #581980
triadic
#251980 #802519 #198025
tetradic
#251980 #801941 #748019 #198058
square
#251980 #801941 #748019 #198058
split-complementary
#251980 #805819 #418019
monochromatic
#07051A #160F4D #251980 #3423B3 #4D3BD9

Accessibility & contrast

On white

13.73
#251980 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#251980 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251980
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251980#FFFFFF#000000##FFFFFF
##2519801.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003183
Deuteranopia (green-blind)
#00297E
Tritanopia (blue-blind)
#00384C
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #251980;
/* rgb */ color: rgb(37, 25, 128);
/* oklch */ color: oklch(31.5% 0.161 277.0);
Tailwind
colors: {
  custom: {
    50: '#6f58a6',
    500: '#251980',
    950: '#000000',
  },
}
SCSS
$custom: #251980;
$custom-light: #6f58a6;
$custom-dark: #000000;
JSON
{
  "hex": "#251980",
  "rgb": {
    "r": 37,
    "g": 25,
    "b": 128
  },
  "hsl": {
    "h": 246.99,
    "s": 67.32,
    "l": 30
  },
  "oklch": {
    "l": 0.31494,
    "c": 0.16112,
    "h": 277
  },
  "luminance": 0.02647
}

Semantic roles & 50–950 ramp

primary
#251980
secondary
#A7B441
accent
#EA3ED6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #251980

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

Preview Lab → · Contrast checker → · Palette generator →

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