#26298E#26298E

#26298E is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.5% C 0.162 H 273.2°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#26298E
RGBrgb(38, 41, 142)
HSLhsl(238, 58%, 35%)
HSVhsv(238, 73%, 56%)
CMYKcmyk(73.2%, 71.1%, 0%, 44.3%)
CIE-LABlab(23.51, 33.90, -55.98)
CIE-LCHlch(23.51, 65.44, 301.20°)
OKLaboklab(35.47% 0.009 -0.1619)
OKLCHoklch(35.47% 0.162 273.2)
XYZxyz(6.4731, 3.9503, 26.0073)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26298E #8E8B26
analogous
#265D8E #26298E #57268E
triadic
#26298E #8E2629 #298E26
tetradic
#26298E #8E265D #8E8B26 #268E57
square
#26298E #8E265D #8E8B26 #268E57
split-complementary
#26298E #8E5726 #5D8E26
monochromatic
#0C0D2D #191B5E #26298E #3337BE #5B5FD3

Accessibility & contrast

On white

11.73
#26298E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#26298E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26298E
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26298E#FFFFFF#000000##FFFFFF
##26298E1.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D91
Deuteranopia (green-blind)
#00338C
Tritanopia (blue-blind)
#004558
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #26298e;
/* rgb */ color: rgb(38, 41, 142);
/* oklch */ color: oklch(35.5% 0.162 273.2);
Tailwind
colors: {
  custom: {
    50: '#7163b0',
    500: '#26298e',
    950: '#000000',
  },
}
SCSS
$custom: #26298e;
$custom-light: #7163b0;
$custom-dark: #000000;
JSON
{
  "hex": "#26298e",
  "rgb": {
    "r": 38,
    "g": 41,
    "b": 142
  },
  "hsl": {
    "h": 238.269,
    "s": 57.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.35467,
    "c": 0.16211,
    "h": 273.2
  },
  "luminance": 0.03951
}

Semantic roles & 50–950 ramp

primary
#26298E
secondary
#B8B558
accent
#DD47E1
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #26298E

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

Preview Lab → · Contrast checker → · Palette generator →

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