#251689#251689

#251689 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.2% C 0.175 H 276.1°. Best body text is #FFFFFF at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#251689
RGBrgb(37, 22, 137)
HSLhsl(248, 72%, 31%)
HSVhsv(248, 84%, 54%)
CMYKcmyk(73%, 83.9%, 0%, 46.3%)
CIE-LABlab(19.11, 42.80, -60.12)
CIE-LCHlch(19.11, 73.80, 305.45°)
OKLaboklab(32.18% 0.0185 -0.1738)
OKLCHoklch(32.18% 0.175 276.1)
XYZxyz(5.5637, 2.7727, 23.9040)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251689 #7A8916
analogous
#164089 #251689 #5E1689
triadic
#251689 #892516 #168925
tetradic
#251689 #891640 #7A8916 #16895E
square
#251689 #891640 #7A8916 #16895E
split-complementary
#251689 #895E16 #408916
monochromatic
#090520 #170E54 #251689 #331EBE #503ADF

Accessibility & contrast

On white

13.51
#251689 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#251689 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251689
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251689#FFFFFF#000000##FFFFFF
##2516891.0013.511.5513.51
#FFFFFF13.511.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00338C
Deuteranopia (green-blind)
#002987
Tritanopia (blue-blind)
#003A51
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #251689;
/* rgb */ color: rgb(37, 22, 137);
/* oklch */ color: oklch(32.2% 0.175 276.1);
Tailwind
colors: {
  custom: {
    50: '#7157ad',
    500: '#251689',
    950: '#000000',
  },
}
SCSS
$custom: #251689;
$custom-light: #7157ad;
$custom-dark: #000000;
JSON
{
  "hex": "#251689",
  "rgb": {
    "r": 37,
    "g": 22,
    "b": 137
  },
  "hsl": {
    "h": 247.826,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.3218,
    "c": 0.17474,
    "h": 276.1
  },
  "luminance": 0.02773
}

Semantic roles & 50–950 ramp

primary
#251689
secondary
#ACBD3E
accent
#EF39D7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #251689

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

Preview Lab → · Contrast checker → · Palette generator →

#251689 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva