#251693#251693

#251693 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.4% C 0.187 H 274.7°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#251693
RGBrgb(37, 22, 147)
HSLhsl(247, 74%, 33%)
HSVhsv(247, 85%, 58%)
CMYKcmyk(74.8%, 85%, 0%, 42.4%)
CIE-LABlab(20.33, 45.89, -64.32)
CIE-LCHlch(20.33, 79.02, 305.51°)
OKLaboklab(33.38% 0.0155 -0.186)
OKLCHoklch(33.38% 0.187 274.7)
XYZxyz(6.3146, 3.0731, 27.8585)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251693 #849316
analogous
#164593 #251693 #631693
triadic
#251693 #932516 #169325
tetradic
#251693 #931645 #849316 #169363
square
#251693 #931645 #849316 #169363
split-complementary
#251693 #936316 #459316
monochromatic
#0A0629 #180E5E #251693 #321EC8 #5441E3

Accessibility & contrast

On white

13.00
#251693 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#251693 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251693
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251693#FFFFFF#000000##FFFFFF
##2516931.0013.001.6113.00
#FFFFFF13.001.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003696
Deuteranopia (green-blind)
#002B91
Tritanopia (blue-blind)
#003F57
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #251693;
/* rgb */ color: rgb(37, 22, 147);
/* oklch */ color: oklch(33.4% 0.187 274.7);
Tailwind
colors: {
  custom: {
    50: '#7358b4',
    500: '#251693',
    950: '#000000',
  },
}
SCSS
$custom: #251693;
$custom-light: #7358b4;
$custom-dark: #000000;
JSON
{
  "hex": "#251693",
  "rgb": {
    "r": 37,
    "g": 22,
    "b": 147
  },
  "hsl": {
    "h": 247.2,
    "s": 73.964,
    "l": 33.137
  },
  "oklch": {
    "l": 0.33378,
    "c": 0.1866,
    "h": 274.7
  },
  "luminance": 0.03074
}

Semantic roles & 50–950 ramp

primary
#251693
secondary
#B3C342
accent
#F137DA
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #251693

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

Preview Lab → · Contrast checker → · Palette generator →

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