#251985#251985

#251985 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.1% C 0.167 H 276.3°. Best body text is #FFFFFF at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#251985
RGBrgb(37, 25, 133)
HSLhsl(247, 68%, 31%)
HSVhsv(247, 81%, 52%)
CMYKcmyk(72.2%, 81.2%, 0%, 47.8%)
CIE-LABlab(19.15, 40.04, -57.54)
CIE-LCHlch(19.15, 70.10, 304.83°)
OKLaboklab(32.07% 0.0183 -0.1663)
OKLCHoklch(32.07% 0.167 276.3)
XYZxyz(5.3428, 2.7815, 22.4411)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251985 #798519
analogous
#194385 #251985 #5B1985
triadic
#251985 #852519 #198525
tetradic
#251985 #851943 #798519 #19855B
square
#251985 #851943 #798519 #19855B
split-complementary
#251985 #855B19 #438519
monochromatic
#08061E #170F51 #251985 #3323B9 #4F3EDB

Accessibility & contrast

On white

13.49
#251985 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#251985 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251985
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251985#FFFFFF#000000##FFFFFF
##2519851.0013.491.5613.49
#FFFFFF13.491.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003388
Deuteranopia (green-blind)
#002A83
Tritanopia (blue-blind)
#003A4F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #251985;
/* rgb */ color: rgb(37, 25, 133);
/* oklch */ color: oklch(32.1% 0.167 276.3);
Tailwind
colors: {
  custom: {
    50: '#7059aa',
    500: '#251985',
    950: '#000000',
  },
}
SCSS
$custom: #251985;
$custom-light: #7059aa;
$custom-dark: #000000;
JSON
{
  "hex": "#251985",
  "rgb": {
    "r": 37,
    "g": 25,
    "b": 133
  },
  "hsl": {
    "h": 246.667,
    "s": 68.354,
    "l": 30.98
  },
  "oklch": {
    "l": 0.32067,
    "c": 0.16733,
    "h": 276.3
  },
  "luminance": 0.02782
}

Semantic roles & 50–950 ramp

primary
#251985
secondary
#ABB941
accent
#EB3DD8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #251985

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

Preview Lab → · Contrast checker → · Palette generator →

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