#251B60#251B60

#251B60 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 28.4% C 0.116 H 282.7°. Best body text is #FFFFFF at 14.95:1 contrast (WCAG AA passes).

Color values

HEX#251B60
RGBrgb(37, 27, 96)
HSLhsl(249, 56%, 24%)
HSVhsv(249, 72%, 38%)
CMYKcmyk(61.5%, 71.9%, 0%, 62.4%)
CIE-LABlab(15.60, 26.34, -39.46)
CIE-LCHlch(15.60, 47.44, 303.73°)
OKLaboklab(28.37% 0.0255 -0.1135)
OKLCHoklch(28.37% 0.116 282.7)
XYZxyz(3.2655, 2.0215, 11.2822)
Luminance0.0202 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251B60 #56601B
analogous
#1B3460 #251B60 #481B60
triadic
#251B60 #60251B #1B6025
tetradic
#251B60 #601B34 #56601B #1B6048
square
#251B60 #601B34 #56601B #1B6048
split-complementary
#251B60 #60481B #34601B
monochromatic
#090718 #130E30 #251B60 #372890 #4A36C0

Accessibility & contrast

On white

14.95
#251B60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#251B60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251B60
14.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251B60#FFFFFF#000000##FFFFFF
##251B601.0014.951.4014.95
#FFFFFF14.951.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002962
Deuteranopia (green-blind)
#00255F
Tritanopia (blue-blind)
#052D3B
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #251b60;
/* rgb */ color: rgb(37, 27, 96);
/* oklch */ color: oklch(28.4% 0.116 282.7);
Tailwind
colors: {
  custom: {
    50: '#67588e',
    500: '#251b60',
    950: '#000000',
  },
}
SCSS
$custom: #251b60;
$custom-light: #67588e;
$custom-dark: #000000;
JSON
{
  "hex": "#251b60",
  "rgb": {
    "r": 37,
    "g": 27,
    "b": 96
  },
  "hsl": {
    "h": 248.696,
    "s": 56.098,
    "l": 24.118
  },
  "oklch": {
    "l": 0.28366,
    "c": 0.11637,
    "h": 282.7
  },
  "luminance": 0.02022
}

Semantic roles & 50–950 ramp

primary
#251B60
secondary
#899641
accent
#DF48CA
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #251B60

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

Preview Lab → · Contrast checker → · Palette generator →

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