#251995#251995

#251995 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.9% C 0.187 H 274.3°. Best body text is #FFFFFF at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#251995
RGBrgb(37, 25, 149)
HSLhsl(246, 71%, 34%)
HSVhsv(246, 83%, 58%)
CMYKcmyk(75.2%, 83.2%, 0%, 41.6%)
CIE-LABlab(21.05, 45.13, -64.38)
CIE-LCHlch(21.05, 78.62, 305.03°)
OKLaboklab(33.94% 0.0139 -0.1862)
OKLCHoklch(33.94% 0.187 274.3)
XYZxyz(6.5336, 3.2578, 28.7124)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251995 #899519
analogous
#194B95 #251995 #631995
triadic
#251995 #952519 #199525
tetradic
#251995 #95194B #899519 #199563
square
#251995 #95194B #899519 #199563
split-complementary
#251995 #956319 #4B9519
monochromatic
#0B072C #181061 #251995 #3222C9 #5748E0

Accessibility & contrast

On white

12.71
#251995 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#251995 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251995
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251995#FFFFFF#000000##FFFFFF
##2519951.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003898
Deuteranopia (green-blind)
#002D93
Tritanopia (blue-blind)
#004058
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #251995;
/* rgb */ color: rgb(37, 25, 149);
/* oklch */ color: oklch(33.9% 0.187 274.3);
Tailwind
colors: {
  custom: {
    50: '#745ab5',
    500: '#251995',
    950: '#000000',
  },
}
SCSS
$custom: #251995;
$custom-light: #745ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#251995",
  "rgb": {
    "r": 37,
    "g": 25,
    "b": 149
  },
  "hsl": {
    "h": 245.806,
    "s": 71.264,
    "l": 34.118
  },
  "oklch": {
    "l": 0.33942,
    "c": 0.18669,
    "h": 274.3
  },
  "luminance": 0.03259
}

Semantic roles & 50–950 ramp

primary
#251995
secondary
#B6C248
accent
#EE3ADD
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #251995

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

Preview Lab → · Contrast checker → · Palette generator →

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