#26198F#26198F

#26198F is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.3% C 0.179 H 275.4°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#26198F
RGBrgb(38, 25, 143)
HSLhsl(247, 70%, 33%)
HSVhsv(247, 83%, 56%)
CMYKcmyk(73.4%, 82.5%, 0%, 43.9%)
CIE-LABlab(20.40, 43.32, -61.73)
CIE-LCHlch(20.40, 75.41, 305.06°)
OKLaboklab(33.3% 0.017 -0.1785)
OKLCHoklch(33.3% 0.179 275.4)
XYZxyz(6.1033, 3.0899, 26.2560)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26198F #828F19
analogous
#19478F #26198F #61198F
triadic
#26198F #8F2619 #198F26
tetradic
#26198F #8F1947 #828F19 #198F61
square
#26198F #8F1947 #828F19 #198F61
split-complementary
#26198F #8F6119 #478F19
monochromatic
#0A0727 #18105B #26198F #3422C3 #5544DE

Accessibility & contrast

On white

12.98
#26198F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#26198F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26198F
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26198F#FFFFFF#000000##FFFFFF
##26198F1.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003692
Deuteranopia (green-blind)
#002C8D
Tritanopia (blue-blind)
#003E55
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #26198f;
/* rgb */ color: rgb(38, 25, 143);
/* oklch */ color: oklch(33.3% 0.179 275.4);
Tailwind
colors: {
  custom: {
    50: '#735ab1',
    500: '#26198f',
    950: '#000000',
  },
}
SCSS
$custom: #26198f;
$custom-light: #735ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#26198f",
  "rgb": {
    "r": 38,
    "g": 25,
    "b": 143
  },
  "hsl": {
    "h": 246.61,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.33303,
    "c": 0.17926,
    "h": 275.4
  },
  "luminance": 0.03091
}

Semantic roles & 50–950 ramp

primary
#26198F
secondary
#B2BF44
accent
#ED3BD9
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #26198F

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

Preview Lab → · Contrast checker → · Palette generator →

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