#26287D#26287D

#26287D is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.6% C 0.140 H 274.8°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#26287D
RGBrgb(38, 40, 125)
HSLhsl(239, 53%, 32%)
HSVhsv(239, 70%, 49%)
CMYKcmyk(69.6%, 68%, 0%, 51%)
CIE-LABlab(21.62, 28.39, -48.41)
CIE-LCHlch(21.62, 56.12, 300.38°)
OKLaboklab(33.6% 0.0118 -0.1397)
OKLCHoklch(33.6% 0.14 274.8)
XYZxyz(5.2586, 3.4098, 19.7791)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26287D #7D7B26
analogous
#26547D #26287D #50267D
triadic
#26287D #7D2628 #287D26
tetradic
#26287D #7D2654 #7D7B26 #267D50
square
#26287D #7D2654 #7D7B26 #267D50
split-complementary
#26287D #7D5026 #547D26
monochromatic
#090A1F #18194E #26287D #3437AC #5356CB

Accessibility & contrast

On white

12.49
#26287D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #26287D
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26287D#FFFFFF#000000##FFFFFF
##26287D1.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003880
Deuteranopia (green-blind)
#00307B
Tritanopia (blue-blind)
#003E4E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #26287d;
/* rgb */ color: rgb(38, 40, 125);
/* oklch */ color: oklch(33.6% 0.140 274.8);
Tailwind
colors: {
  custom: {
    50: '#6d62a3',
    500: '#26287d',
    950: '#000000',
  },
}
SCSS
$custom: #26287d;
$custom-light: #6d62a3;
$custom-dark: #000000;
JSON
{
  "hex": "#26287d",
  "rgb": {
    "r": 38,
    "g": 40,
    "b": 125
  },
  "hsl": {
    "h": 238.621,
    "s": 53.374,
    "l": 31.961
  },
  "oklch": {
    "l": 0.33595,
    "c": 0.14023,
    "h": 274.8
  },
  "luminance": 0.0341
}

Semantic roles & 50–950 ramp

primary
#26287D
secondary
#AFAD50
accent
#D94BDD
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#08050F
muted
#7B797F

Preview Lab

Preview with #26287D

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

Preview Lab → · Contrast checker → · Palette generator →

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