#251EAF#251EAF

#251EAF is a dark, highly saturated blue. Relative luminance 0.044; OKLCH L 37.6% C 0.213 H 271.6°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#251EAF
RGBrgb(37, 30, 175)
HSLhsl(243, 71%, 40%)
HSVhsv(243, 83%, 69%)
CMYKcmyk(78.9%, 82.9%, 0%, 31.4%)
CIE-LABlab(25.00, 50.85, -73.65)
CIE-LCHlch(25.00, 89.50, 304.62°)
OKLaboklab(37.59% 0.0058 -0.2131)
OKLCHoklch(37.59% 0.213 271.6)
XYZxyz(8.9625, 4.4160, 40.9291)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251EAF #A8AF1E
analogous
#1E5FAF #251EAF #6E1EAF
triadic
#251EAF #AF251E #1EAF25
tetradic
#251EAF #AF1E5F #A8AF1E #1EAF6E
square
#251EAF #AF1E5F #A8AF1E #1EAF6E
split-complementary
#251EAF #AF6E1E #5FAF1E
monochromatic
#0F0C47 #1A157B #251EAF #372FDB #6963E4

Accessibility & contrast

On white

11.15
#251EAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#251EAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251EAF
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251EAF#FFFFFF#000000##FFFFFF
##251EAF1.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042B3
Deuteranopia (green-blind)
#0034AD
Tritanopia (blue-blind)
#004D68
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #251eaf;
/* rgb */ color: rgb(37, 30, 175);
/* oklch */ color: oklch(37.6% 0.213 271.6);
Tailwind
colors: {
  custom: {
    50: '#7a5fc8',
    500: '#251eaf',
    950: '#000000',
  },
}
SCSS
$custom: #251eaf;
$custom-light: #7a5fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#251eaf",
  "rgb": {
    "r": 37,
    "g": 30,
    "b": 175
  },
  "hsl": {
    "h": 242.897,
    "s": 70.732,
    "l": 40.196
  },
  "oklch": {
    "l": 0.37585,
    "c": 0.2132,
    "h": 271.6
  },
  "luminance": 0.04417
}

Semantic roles & 50–950 ramp

primary
#251EAF
secondary
#C4C960
accent
#ED3AE5
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #251EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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