#251EA0#251EA0

#251EA0 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.8% C 0.196 H 272.7°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#251EA0
RGBrgb(37, 30, 160)
HSLhsl(243, 68%, 37%)
HSVhsv(243, 81%, 63%)
CMYKcmyk(76.9%, 81.3%, 0%, 37.3%)
CIE-LABlab(23.20, 46.16, -67.56)
CIE-LCHlch(23.20, 81.83, 304.34°)
OKLaboklab(35.82% 0.0094 -0.1955)
OKLCHoklch(35.82% 0.196 272.7)
XYZxyz(7.5703, 3.8591, 33.5968)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251EA0 #99A01E
analogous
#1E58A0 #251EA0 #661EA0
triadic
#251EA0 #A0251E #1EA025
tetradic
#251EA0 #A01E58 #99A01E #1EA066
square
#251EA0 #A01E58 #99A01E #1EA066
split-complementary
#251EA0 #A0661E #58A01E
monochromatic
#0D0B39 #19146C #251EA0 #3128D4 #6059E0

Accessibility & contrast

On white

11.85
#251EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#251EA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251EA0
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251EA0#FFFFFF#000000##FFFFFF
##251EA01.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA4
Deuteranopia (green-blind)
#00319E
Tritanopia (blue-blind)
#004760
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #251ea0;
/* rgb */ color: rgb(37, 30, 160);
/* oklch */ color: oklch(35.8% 0.196 272.7);
Tailwind
colors: {
  custom: {
    50: '#765dbd',
    500: '#251ea0',
    950: '#000000',
  },
}
SCSS
$custom: #251ea0;
$custom-light: #765dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#251ea0",
  "rgb": {
    "r": 37,
    "g": 30,
    "b": 160
  },
  "hsl": {
    "h": 243.231,
    "s": 68.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.35816,
    "c": 0.19571,
    "h": 272.7
  },
  "luminance": 0.0386
}

Semantic roles & 50–950 ramp

primary
#251EA0
secondary
#BEC456
accent
#EB3DE2
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #251EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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