#251685#251685

#251685 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.7% C 0.170 H 276.6°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#251685
RGBrgb(37, 22, 133)
HSLhsl(248, 72%, 30%)
HSVhsv(248, 83%, 52%)
CMYKcmyk(72.2%, 83.5%, 0%, 47.8%)
CIE-LABlab(18.63, 41.55, -58.40)
CIE-LCHlch(18.63, 71.67, 305.43°)
OKLaboklab(31.71% 0.0197 -0.1688)
OKLCHoklch(31.71% 0.17 276.6)
XYZxyz(5.2821, 2.6601, 22.4208)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251685 #768516
analogous
#163E85 #251685 #5C1685
triadic
#251685 #852516 #168525
tetradic
#251685 #85163E #768516 #16855C
square
#251685 #85163E #768516 #16855C
split-complementary
#251685 #855C16 #3E8516
monochromatic
#08051C #160D50 #251685 #341FBA #4E37DE

Accessibility & contrast

On white

13.71
#251685 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#251685 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251685
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251685#FFFFFF#000000##FFFFFF
##2516851.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003288
Deuteranopia (green-blind)
#002983
Tritanopia (blue-blind)
#00394E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #251685;
/* rgb */ color: rgb(37, 22, 133);
/* oklch */ color: oklch(31.7% 0.170 276.6);
Tailwind
colors: {
  custom: {
    50: '#7057aa',
    500: '#251685',
    950: '#000000',
  },
}
SCSS
$custom: #251685;
$custom-light: #7057aa;
$custom-dark: #000000;
JSON
{
  "hex": "#251685",
  "rgb": {
    "r": 37,
    "g": 22,
    "b": 133
  },
  "hsl": {
    "h": 248.108,
    "s": 71.613,
    "l": 30.392
  },
  "oklch": {
    "l": 0.31706,
    "c": 0.16992,
    "h": 276.6
  },
  "luminance": 0.02661
}

Semantic roles & 50–950 ramp

primary
#251685
secondary
#A9B93E
accent
#EE39D6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #251685

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

Preview Lab → · Contrast checker → · Palette generator →

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