#251683#251683

#251683 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.5% C 0.167 H 276.9°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#251683
RGBrgb(37, 22, 131)
HSLhsl(248, 71%, 30%)
HSVhsv(248, 83%, 51%)
CMYKcmyk(71.8%, 83.2%, 0%, 48.6%)
CIE-LABlab(18.39, 40.92, -57.53)
CIE-LCHlch(18.39, 70.60, 305.42°)
OKLaboklab(31.47% 0.0203 -0.1663)
OKLCHoklch(31.47% 0.167 276.9)
XYZxyz(5.1453, 2.6054, 21.7001)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251683 #748316
analogous
#163D83 #251683 #5C1683
triadic
#251683 #832516 #168325
tetradic
#251683 #83163D #748316 #16835C
square
#251683 #83163D #748316 #16835C
split-complementary
#251683 #835C16 #3D8316
monochromatic
#07041A #160D4F #251683 #341FB7 #4D36DD

Accessibility & contrast

On white

13.80
#251683 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#251683 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251683
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251683#FFFFFF#000000##FFFFFF
##2516831.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003186
Deuteranopia (green-blind)
#002881
Tritanopia (blue-blind)
#00384D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #251683;
/* rgb */ color: rgb(37, 22, 131);
/* oklch */ color: oklch(31.5% 0.167 276.9);
Tailwind
colors: {
  custom: {
    50: '#7057a8',
    500: '#251683',
    950: '#000000',
  },
}
SCSS
$custom: #251683;
$custom-light: #7057a8;
$custom-dark: #000000;
JSON
{
  "hex": "#251683",
  "rgb": {
    "r": 37,
    "g": 22,
    "b": 131
  },
  "hsl": {
    "h": 248.257,
    "s": 71.242,
    "l": 30
  },
  "oklch": {
    "l": 0.31471,
    "c": 0.16749,
    "h": 276.9
  },
  "luminance": 0.02606
}

Semantic roles & 50–950 ramp

primary
#251683
secondary
#A7B73D
accent
#EE3AD5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #251683

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

Preview Lab → · Contrast checker → · Palette generator →

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