#26387D#26387D

#26387D is a dark, moderate blue. Relative luminance 0.047; OKLCH L 36.8% C 0.119 H 268.9°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#26387D
RGBrgb(38, 56, 125)
HSLhsl(228, 53%, 32%)
HSVhsv(228, 70%, 49%)
CMYKcmyk(69.6%, 55.2%, 0%, 51%)
CIE-LABlab(25.92, 17.43, -41.40)
CIE-LCHlch(25.92, 44.92, 292.83°)
OKLaboklab(36.79% -0.0024 -0.119)
OKLCHoklch(36.79% 0.119 268.9)
XYZxyz(5.9139, 4.7205, 19.9975)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26387D #7D6B26
analogous
#26647D #26387D #40267D
triadic
#26387D #7D2638 #387D26
tetradic
#26387D #7D2664 #7D6B26 #267D40
square
#26387D #7D2664 #7D6B26 #267D40
split-complementary
#26387D #7D4026 #647D26
monochromatic
#090E1F #18234E #26387D #344DAC #536CCB

Accessibility & contrast

On white

10.80
#26387D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#26387D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26387D
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26387D#FFFFFF#000000##FFFFFF
##26387D1.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08417F
Deuteranopia (green-blind)
#003A7C
Tritanopia (blue-blind)
#004855
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #26387d;
/* rgb */ color: rgb(38, 56, 125);
/* oklch */ color: oklch(36.8% 0.119 268.9);
Tailwind
colors: {
  custom: {
    50: '#6b6ea3',
    500: '#26387d',
    950: '#000000',
  },
}
SCSS
$custom: #26387d;
$custom-light: #6b6ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#26387d",
  "rgb": {
    "r": 38,
    "g": 56,
    "b": 125
  },
  "hsl": {
    "h": 227.586,
    "s": 53.374,
    "l": 31.961
  },
  "oklch": {
    "l": 0.3679,
    "c": 0.119,
    "h": 268.9
  },
  "luminance": 0.04721
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #26387D

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

Preview Lab → · Contrast checker → · Palette generator →

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