#26198D#26198D

#26198D is a dark, vivid blue. Relative luminance 0.030; OKLCH L 33.1% C 0.177 H 275.7°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#26198D
RGBrgb(38, 25, 141)
HSLhsl(247, 70%, 33%)
HSVhsv(247, 82%, 55%)
CMYKcmyk(73%, 82.3%, 0%, 44.7%)
CIE-LABlab(20.16, 42.69, -60.87)
CIE-LCHlch(20.16, 74.35, 305.04°)
OKLaboklab(33.07% 0.0175 -0.176)
OKLCHoklch(33.07% 0.177 275.7)
XYZxyz(5.9531, 3.0298, 25.4652)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26198D #808D19
analogous
#19468D #26198D #60198D
triadic
#26198D #8D2619 #198D26
tetradic
#26198D #8D1946 #808D19 #198D60
square
#26198D #8D1946 #808D19 #198D60
split-complementary
#26198D #8D6019 #468D19
monochromatic
#0A0725 #181059 #26198D #3422C1 #5443DE

Accessibility & contrast

On white

13.08
#26198D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#26198D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26198D
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26198D#FFFFFF#000000##FFFFFF
##26198D1.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003690
Deuteranopia (green-blind)
#002B8B
Tritanopia (blue-blind)
#003D54
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #26198d;
/* rgb */ color: rgb(38, 25, 141);
/* oklch */ color: oklch(33.1% 0.177 275.7);
Tailwind
colors: {
  custom: {
    50: '#7259b0',
    500: '#26198d',
    950: '#000000',
  },
}
SCSS
$custom: #26198d;
$custom-light: #7259b0;
$custom-dark: #000000;
JSON
{
  "hex": "#26198d",
  "rgb": {
    "r": 38,
    "g": 25,
    "b": 141
  },
  "hsl": {
    "h": 246.724,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.33069,
    "c": 0.17685,
    "h": 275.7
  },
  "luminance": 0.0303
}

Semantic roles & 50–950 ramp

primary
#26198D
secondary
#B1BF43
accent
#ED3BD9
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #26198D

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

Preview Lab → · Contrast checker → · Palette generator →

#26198D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva