#26197B#26197B

#26197B is a dark, vivid blue. Relative luminance 0.025; OKLCH L 31.0% C 0.155 H 278.4°. Best body text is #FFFFFF at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#26197B
RGBrgb(38, 25, 123)
HSLhsl(248, 66%, 29%)
HSVhsv(248, 80%, 48%)
CMYKcmyk(69.1%, 79.7%, 0%, 51.8%)
CIE-LABlab(18.09, 36.88, -52.95)
CIE-LCHlch(18.09, 64.52, 304.86°)
OKLaboklab(31.01% 0.0225 -0.1529)
OKLCHoklch(31.01% 0.155 278.4)
XYZxyz(4.7210, 2.5370, 18.9760)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26197B #6E7B19
analogous
#193D7B #26197B #57197B
triadic
#26197B #7B2619 #197B26
tetradic
#26197B #7B193D #6E7B19 #197B57
square
#26197B #7B193D #6E7B19 #197B57
split-complementary
#26197B #7B5719 #3D7B19
monochromatic
#080519 #160F48 #26197B #3623AE #4D38D7

Accessibility & contrast

On white

13.93
#26197B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#26197B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26197B
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26197B#FFFFFF#000000##FFFFFF
##26197B1.0013.931.5113.93
#FFFFFF13.931.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307E
Deuteranopia (green-blind)
#002879
Tritanopia (blue-blind)
#003649
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #26197b;
/* rgb */ color: rgb(38, 25, 123);
/* oklch */ color: oklch(31.0% 0.155 278.4);
Tailwind
colors: {
  custom: {
    50: '#6e58a2',
    500: '#26197b',
    950: '#000000',
  },
}
SCSS
$custom: #26197b;
$custom-light: #6e58a2;
$custom-dark: #000000;
JSON
{
  "hex": "#26197b",
  "rgb": {
    "r": 38,
    "g": 25,
    "b": 123
  },
  "hsl": {
    "h": 247.959,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.31008,
    "c": 0.15458,
    "h": 278.4
  },
  "luminance": 0.02537
}

Semantic roles & 50–950 ramp

primary
#26197B
secondary
#A1AF40
accent
#E93FD3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #26197B

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

Preview Lab → · Contrast checker → · Palette generator →

#26197B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva