#26387E#26387E

#26387E is a dark, vivid blue. Relative luminance 0.047; OKLCH L 36.9% C 0.120 H 268.9°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#26387E
RGBrgb(38, 56, 126)
HSLhsl(228, 54%, 32%)
HSVhsv(228, 70%, 49%)
CMYKcmyk(69.8%, 55.6%, 0%, 50.6%)
CIE-LABlab(26.00, 17.81, -41.91)
CIE-LCHlch(26.00, 45.54, 293.03°)
OKLaboklab(36.87% -0.0023 -0.1205)
OKLCHoklch(36.87% 0.12 268.9)
XYZxyz(5.9781, 4.7462, 20.3357)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26387E #7E6C26
analogous
#26647E #26387E #40267E
triadic
#26387E #7E2638 #387E26
tetradic
#26387E #7E2664 #7E6C26 #267E40
square
#26387E #7E2664 #7E6C26 #267E40
split-complementary
#26387E #7E4026 #647E26
monochromatic
#0A0E20 #18234F #26387E #344DAD #536CCB

Accessibility & contrast

On white

10.77
#26387E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#26387E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26387E
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26387E#FFFFFF#000000##FFFFFF
##26387E1.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#064280
Deuteranopia (green-blind)
#003A7D
Tritanopia (blue-blind)
#004955
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #26387e;
/* rgb */ color: rgb(38, 56, 126);
/* oklch */ color: oklch(36.9% 0.120 268.9);
Tailwind
colors: {
  custom: {
    50: '#6c6ea4',
    500: '#26387e',
    950: '#000000',
  },
}
SCSS
$custom: #26387e;
$custom-light: #6c6ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#26387e",
  "rgb": {
    "r": 38,
    "g": 56,
    "b": 126
  },
  "hsl": {
    "h": 227.727,
    "s": 53.659,
    "l": 32.157
  },
  "oklch": {
    "l": 0.36871,
    "c": 0.12048,
    "h": 268.9
  },
  "luminance": 0.04747
}

Semantic roles & 50–950 ramp

primary
#26387E
secondary
#B09C50
accent
#BF4BDD
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #26387E

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

Preview Lab → · Contrast checker → · Palette generator →

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