#26287C#26287C

#26287C is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.5% C 0.139 H 274.9°. Best body text is #FFFFFF at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#26287C
RGBrgb(38, 40, 124)
HSLhsl(239, 53%, 32%)
HSVhsv(239, 69%, 49%)
CMYKcmyk(69.4%, 67.7%, 0%, 51.4%)
CIE-LABlab(21.52, 28.02, -47.93)
CIE-LCHlch(21.52, 55.52, 300.31°)
OKLaboklab(33.5% 0.0119 -0.1383)
OKLCHoklch(33.5% 0.139 274.9)
XYZxyz(5.1950, 3.3844, 19.4444)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26287C #7C7A26
analogous
#26537C #26287C #4F267C
triadic
#26287C #7C2628 #287C26
tetradic
#26287C #7C2653 #7C7A26 #267C4F
square
#26287C #7C2653 #7C7A26 #267C4F
split-complementary
#26287C #7C4F26 #537C26
monochromatic
#090A1E #18194D #26287C #3437AB #5255CA

Accessibility & contrast

On white

12.52
#26287C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#26287C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26287C
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26287C#FFFFFF#000000##FFFFFF
##26287C1.0012.521.6812.52
#FFFFFF12.521.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387F
Deuteranopia (green-blind)
#00307A
Tritanopia (blue-blind)
#003E4E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #26287c;
/* rgb */ color: rgb(38, 40, 124);
/* oklch */ color: oklch(33.5% 0.139 274.9);
Tailwind
colors: {
  custom: {
    50: '#6d62a3',
    500: '#26287c',
    950: '#000000',
  },
}
SCSS
$custom: #26287c;
$custom-light: #6d62a3;
$custom-dark: #000000;
JSON
{
  "hex": "#26287c",
  "rgb": {
    "r": 38,
    "g": 40,
    "b": 124
  },
  "hsl": {
    "h": 238.605,
    "s": 53.086,
    "l": 31.765
  },
  "oklch": {
    "l": 0.33498,
    "c": 0.13884,
    "h": 274.9
  },
  "luminance": 0.03385
}

Semantic roles & 50–950 ramp

primary
#26287C
secondary
#AEAC50
accent
#D94BDC
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#08050F
muted
#7A797F

Preview Lab

Preview with #26287C

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

Preview Lab → · Contrast checker → · Palette generator →

#26287C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva