#251FAA#251FAA

#251FAA is a dark, highly saturated blue. Relative luminance 0.043; OKLCH L 37.1% C 0.207 H 271.9°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#251FAA
RGBrgb(37, 31, 170)
HSLhsl(243, 69%, 39%)
HSVhsv(243, 82%, 67%)
CMYKcmyk(78.2%, 81.8%, 0%, 33.3%)
CIE-LABlab(24.56, 48.83, -71.37)
CIE-LCHlch(24.56, 86.48, 304.38°)
OKLaboklab(37.1% 0.0067 -0.2065)
OKLCHoklch(37.1% 0.207 271.9)
XYZxyz(8.5062, 4.2746, 38.3992)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251FAA #A4AA1F
analogous
#1F5FAA #251FAA #6B1FAA
triadic
#251FAA #AA251F #1FAA25
tetradic
#251FAA #AA1F5F #A4AA1F #1FAA6B
square
#251FAA #AA1F5F #A4AA1F #1FAA6B
split-complementary
#251FAA #AA6B1F #5FAA1F
monochromatic
#0E0C42 #1A1676 #251FAA #352DD9 #6761E2

Accessibility & contrast

On white

11.32
#251FAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#251FAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251FAA
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251FAA#FFFFFF#000000##FFFFFF
##251FAA1.0011.321.8611.32
#FFFFFF11.321.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041AE
Deuteranopia (green-blind)
#0033A8
Tritanopia (blue-blind)
#004B66
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #251faa;
/* rgb */ color: rgb(37, 31, 170);
/* oklch */ color: oklch(37.1% 0.207 271.9);
Tailwind
colors: {
  custom: {
    50: '#785fc5',
    500: '#251faa',
    950: '#000000',
  },
}
SCSS
$custom: #251faa;
$custom-light: #785fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#251faa",
  "rgb": {
    "r": 37,
    "g": 31,
    "b": 170
  },
  "hsl": {
    "h": 242.59,
    "s": 69.154,
    "l": 39.412
  },
  "oklch": {
    "l": 0.37105,
    "c": 0.20666,
    "h": 271.9
  },
  "luminance": 0.04276
}

Semantic roles & 50–950 ramp

primary
#251FAA
secondary
#C2C75E
accent
#EC3CE4
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #251FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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