#26478E#26478E

#26478E is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.4% C 0.124 H 263.3°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#26478E
RGBrgb(38, 71, 142)
HSLhsl(221, 58%, 35%)
HSVhsv(221, 73%, 56%)
CMYKcmyk(73.2%, 50%, 0%, 44.3%)
CIE-LABlab(31.51, 13.72, -42.95)
CIE-LCHlch(31.51, 45.09, 287.72°)
OKLaboklab(41.43% -0.0145 -0.1233)
OKLCHoklch(41.43% 0.124 263.3)
XYZxyz(7.9333, 6.8707, 26.4940)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26478E #8E6D26
analogous
#267B8E #26478E #39268E
triadic
#26478E #8E2647 #478E26
tetradic
#26478E #8E267B #8E6D26 #268E39
square
#26478E #8E267B #8E6D26 #268E39
split-complementary
#26478E #8E3926 #7B8E26
monochromatic
#0C172D #192F5E #26478E #335FBE #5B81D3

Accessibility & contrast

On white

8.84
#26478E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#26478E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26478E
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26478E#FFFFFF#000000##FFFFFF
##26478E1.008.842.378.84
#FFFFFF8.841.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4F91
Deuteranopia (green-blind)
#00468D
Tritanopia (blue-blind)
#005863
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #26478e;
/* rgb */ color: rgb(38, 71, 142);
/* oklch */ color: oklch(41.4% 0.124 263.3);
Tailwind
colors: {
  custom: {
    50: '#6e79af',
    500: '#26478e',
    950: '#000000',
  },
}
SCSS
$custom: #26478e;
$custom-light: #6e79af;
$custom-dark: #000000;
JSON
{
  "hex": "#26478e",
  "rgb": {
    "r": 38,
    "g": 71,
    "b": 142
  },
  "hsl": {
    "h": 220.962,
    "s": 57.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.41427,
    "c": 0.12411,
    "h": 263.3
  },
  "luminance": 0.06872
}

Semantic roles & 50–950 ramp

primary
#26478E
secondary
#B89A58
accent
#B047E1
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #26478E

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

Preview Lab → · Contrast checker → · Palette generator →

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