#261994#261994

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

Color values

HEX#261994
RGBrgb(38, 25, 148)
HSLhsl(246, 71%, 34%)
HSVhsv(246, 83%, 58%)
CMYKcmyk(74.3%, 83.1%, 0%, 42%)
CIE-LABlab(21.00, 44.89, -63.84)
CIE-LCHlch(21.00, 78.04, 305.12°)
OKLaboklab(33.89% 0.0156 -0.1846)
OKLCHoklch(33.89% 0.185 274.8)
XYZxyz(6.4905, 3.2448, 28.2955)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261994 #879419
analogous
#194A94 #261994 #641994
triadic
#261994 #942619 #199426
tetradic
#261994 #94194A #879419 #199464
square
#261994 #94194A #879419 #199464
split-complementary
#261994 #946419 #4A9419
monochromatic
#0B072B #191060 #261994 #3322C8 #5847E0

Accessibility & contrast

On white

12.73
#261994 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #261994
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261994#FFFFFF#000000##FFFFFF
##2619941.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.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: #261994;
/* rgb */ color: rgb(38, 25, 148);
/* oklch */ color: oklch(33.9% 0.185 274.8);
Tailwind
colors: {
  custom: {
    50: '#745ab5',
    500: '#261994',
    950: '#000000',
  },
}
SCSS
$custom: #261994;
$custom-light: #745ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#261994",
  "rgb": {
    "r": 38,
    "g": 25,
    "b": 148
  },
  "hsl": {
    "h": 246.341,
    "s": 71.098,
    "l": 33.922
  },
  "oklch": {
    "l": 0.33891,
    "c": 0.18523,
    "h": 274.8
  },
  "luminance": 0.03245
}

Semantic roles & 50–950 ramp

primary
#261994
secondary
#B5C147
accent
#EE3ADB
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #261994

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

Preview Lab → · Contrast checker → · Palette generator →

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