#26199E#26199E

#26199E is a dark, vivid blue. Relative luminance 0.036; OKLCH L 35.1% C 0.197 H 273.7°. Best body text is #FFFFFF at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#26199E
RGBrgb(38, 25, 158)
HSLhsl(246, 73%, 36%)
HSVhsv(246, 84%, 62%)
CMYKcmyk(75.9%, 84.2%, 0%, 38%)
CIE-LABlab(22.21, 47.98, -67.97)
CIE-LCHlch(22.21, 83.20, 305.22°)
OKLaboklab(35.08% 0.0127 -0.1966)
OKLCHoklch(35.08% 0.197 273.7)
XYZxyz(7.3165, 3.5752, 32.6456)
Luminance0.0358 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26199E #919E19
analogous
#194E9E #26199E #68199E
triadic
#26199E #9E2619 #199E26
tetradic
#26199E #9E194E #919E19 #199E68
square
#26199E #9E194E #919E19 #199E68
split-complementary
#26199E #9E6819 #4E9E19
monochromatic
#0D0834 #191169 #26199E #3321D3 #5D4EE3

Accessibility & contrast

On white

12.24
#26199E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#26199E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26199E
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26199E#FFFFFF#000000##FFFFFF
##26199E1.0012.241.7212.24
#FFFFFF12.241.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003BA2
Deuteranopia (green-blind)
#002F9C
Tritanopia (blue-blind)
#00445E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #26199e;
/* rgb */ color: rgb(38, 25, 158);
/* oklch */ color: oklch(35.1% 0.197 273.7);
Tailwind
colors: {
  custom: {
    50: '#765bbc',
    500: '#26199e',
    950: '#000000',
  },
}
SCSS
$custom: #26199e;
$custom-light: #765bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#26199e",
  "rgb": {
    "r": 38,
    "g": 25,
    "b": 158
  },
  "hsl": {
    "h": 245.865,
    "s": 72.678,
    "l": 35.882
  },
  "oklch": {
    "l": 0.35081,
    "c": 0.19698,
    "h": 273.7
  },
  "luminance": 0.03576
}

Semantic roles & 50–950 ramp

primary
#26199E
secondary
#BAC54E
accent
#EF38DD
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #26199E

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

Preview Lab → · Contrast checker → · Palette generator →

#26199E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva