#251994#251994

#251994 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.8% C 0.185 H 274.4°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#251994
RGBrgb(37, 25, 148)
HSLhsl(246, 71%, 34%)
HSVhsv(246, 83%, 58%)
CMYKcmyk(75%, 83.1%, 0%, 42%)
CIE-LABlab(20.93, 44.82, -63.96)
CIE-LCHlch(20.93, 78.10, 305.02°)
OKLaboklab(33.82% 0.0142 -0.185)
OKLCHoklch(33.82% 0.186 274.4)
XYZxyz(6.4541, 3.2260, 28.2938)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251994 #889419
analogous
#194B94 #251994 #631994
triadic
#251994 #942519 #199425
tetradic
#251994 #94194B #889419 #199463
square
#251994 #94194B #889419 #199463
split-complementary
#251994 #946319 #4B9419
monochromatic
#0B072B #181060 #251994 #3222C8 #5647E0

Accessibility & contrast

On white

12.76
#251994 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #251994
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251994#FFFFFF#000000##FFFFFF
##2519941.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003897
Deuteranopia (green-blind)
#002D92
Tritanopia (blue-blind)
#004058
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #251994;
/* rgb */ color: rgb(37, 25, 148);
/* oklch */ color: oklch(33.8% 0.185 274.4);
Tailwind
colors: {
  custom: {
    50: '#735ab5',
    500: '#251994',
    950: '#000000',
  },
}
SCSS
$custom: #251994;
$custom-light: #735ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#251994",
  "rgb": {
    "r": 37,
    "g": 25,
    "b": 148
  },
  "hsl": {
    "h": 245.854,
    "s": 71.098,
    "l": 33.922
  },
  "oklch": {
    "l": 0.33823,
    "c": 0.1855,
    "h": 274.4
  },
  "luminance": 0.03227
}

Semantic roles & 50–950 ramp

primary
#251994
secondary
#B6C147
accent
#EE3ADC
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #251994

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

Preview Lab → · Contrast checker → · Palette generator →

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