#26298D#26298D

#26298D is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.4% C 0.161 H 273.3°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#26298D
RGBrgb(38, 41, 141)
HSLhsl(238, 58%, 35%)
HSVhsv(238, 73%, 55%)
CMYKcmyk(73%, 70.9%, 0%, 44.7%)
CIE-LABlab(23.41, 33.54, -55.52)
CIE-LCHlch(23.41, 64.87, 301.14°)
OKLaboklab(35.37% 0.0092 -0.1605)
OKLCHoklch(35.37% 0.161 273.3)
XYZxyz(6.3984, 3.9204, 25.6137)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26298D #8D8A26
analogous
#265D8D #26298D #56268D
triadic
#26298D #8D2629 #298D26
tetradic
#26298D #8D265D #8D8A26 #268D56
square
#26298D #8D265D #8D8A26 #268D56
split-complementary
#26298D #8D5626 #5D8D26
monochromatic
#0C0D2D #191B5D #26298D #3337BD #5B5ED3

Accessibility & contrast

On white

11.77
#26298D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#26298D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26298D
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26298D#FFFFFF#000000##FFFFFF
##26298D1.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D90
Deuteranopia (green-blind)
#00338B
Tritanopia (blue-blind)
#004457
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #26298d;
/* rgb */ color: rgb(38, 41, 141);
/* oklch */ color: oklch(35.4% 0.161 273.3);
Tailwind
colors: {
  custom: {
    50: '#7163af',
    500: '#26298d',
    950: '#000000',
  },
}
SCSS
$custom: #26298d;
$custom-light: #7163af;
$custom-dark: #000000;
JSON
{
  "hex": "#26298d",
  "rgb": {
    "r": 38,
    "g": 41,
    "b": 141
  },
  "hsl": {
    "h": 238.252,
    "s": 57.542,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35365,
    "c": 0.16079,
    "h": 273.3
  },
  "luminance": 0.03921
}

Semantic roles & 50–950 ramp

primary
#26298D
secondary
#B8B557
accent
#DC47E1
background
#F7F5FA
surface
#EDEAF5
border
#C8C6CF
text
#090511
muted
#7B7980

Preview Lab

Preview with #26298D

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

Preview Lab → · Contrast checker → · Palette generator →

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