#251A8A#251A8A

#251A8A is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.8% C 0.173 H 275.5°. Best body text is #FFFFFF at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#251A8A
RGBrgb(37, 26, 138)
HSLhsl(246, 68%, 32%)
HSVhsv(246, 81%, 54%)
CMYKcmyk(73.2%, 81.2%, 0%, 45.9%)
CIE-LABlab(19.91, 41.14, -59.42)
CIE-LCHlch(19.91, 72.27, 304.70°)
OKLaboklab(32.77% 0.0165 -0.1718)
OKLCHoklch(32.77% 0.173 275.5)
XYZxyz(5.7183, 2.9665, 24.3111)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251A8A #7F8A1A
analogous
#1A478A #251A8A #5D1A8A
triadic
#251A8A #8A251A #1A8A25
tetradic
#251A8A #8A1A47 #7F8A1A #1A8A5D
square
#251A8A #8A1A47 #7F8A1A #1A8A5D
split-complementary
#251A8A #8A5D1A #478A1A
monochromatic
#090723 #171057 #251A8A #3324BD #5243DC

Accessibility & contrast

On white

13.18
#251A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#251A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251A8A
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251A8A#FFFFFF#000000##FFFFFF
##251A8A1.0013.181.5913.18
#FFFFFF13.181.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00358D
Deuteranopia (green-blind)
#002B88
Tritanopia (blue-blind)
#003C52
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #251a8a;
/* rgb */ color: rgb(37, 26, 138);
/* oklch */ color: oklch(32.8% 0.173 275.5);
Tailwind
colors: {
  custom: {
    50: '#715aad',
    500: '#251a8a',
    950: '#000000',
  },
}
SCSS
$custom: #251a8a;
$custom-light: #715aad;
$custom-dark: #000000;
JSON
{
  "hex": "#251a8a",
  "rgb": {
    "r": 37,
    "g": 26,
    "b": 138
  },
  "hsl": {
    "h": 245.893,
    "s": 68.293,
    "l": 32.157
  },
  "oklch": {
    "l": 0.3277,
    "c": 0.17259,
    "h": 275.5
  },
  "luminance": 0.02967
}

Semantic roles & 50–950 ramp

primary
#251A8A
secondary
#B1BD43
accent
#EB3DDA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #251A8A

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

Preview Lab → · Contrast checker → · Palette generator →

#251A8A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva