#26299D#26299D

#26299D is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.0% C 0.182 H 272.1°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#26299D
RGBrgb(38, 41, 157)
HSLhsl(238, 61%, 38%)
HSVhsv(238, 76%, 62%)
CMYKcmyk(75.8%, 73.9%, 0%, 38.4%)
CIE-LABlab(25.05, 39.19, -62.67)
CIE-LCHlch(25.05, 73.91, 302.02°)
OKLaboklab(37.04% 0.0068 -0.1814)
OKLCHoklch(37.04% 0.182 272.1)
XYZxyz(7.6760, 4.4315, 32.3426)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26299D #9D9A26
analogous
#26659D #26299D #5E269D
triadic
#26299D #9D2629 #299D26
tetradic
#26299D #9D2665 #9D9A26 #269D5E
square
#26299D #9D2665 #9D9A26 #269D5E
split-complementary
#26299D #9D5E26 #659D26
monochromatic
#0E0F3A #1A1C6C #26299D #3337CE #6467D9

Accessibility & contrast

On white

11.13
#26299D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#26299D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26299D
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26299D#FFFFFF#000000##FFFFFF
##26299D1.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A0
Deuteranopia (green-blind)
#00369B
Tritanopia (blue-blind)
#004A60
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #26299d;
/* rgb */ color: rgb(38, 41, 157);
/* oklch */ color: oklch(37.0% 0.182 272.1);
Tailwind
colors: {
  custom: {
    50: '#7564bb',
    500: '#26299d',
    950: '#000000',
  },
}
SCSS
$custom: #26299d;
$custom-light: #7564bb;
$custom-dark: #000000;
JSON
{
  "hex": "#26299d",
  "rgb": {
    "r": 38,
    "g": 41,
    "b": 157
  },
  "hsl": {
    "h": 238.487,
    "s": 61.026,
    "l": 38.235
  },
  "oklch": {
    "l": 0.37037,
    "c": 0.18151,
    "h": 272.1
  },
  "luminance": 0.04432
}

Semantic roles & 50–950 ramp

primary
#26299D
secondary
#BFBD60
accent
#E044E4
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #26299D

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

Preview Lab → · Contrast checker → · Palette generator →

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