#26478D#26478D

#26478D is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.4% C 0.123 H 263.1°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#26478D
RGBrgb(38, 71, 141)
HSLhsl(221, 58%, 35%)
HSVhsv(221, 73%, 55%)
CMYKcmyk(73%, 49.6%, 0%, 44.7%)
CIE-LABlab(31.44, 13.33, -42.44)
CIE-LCHlch(31.44, 44.49, 287.44°)
OKLaboklab(41.35% -0.0147 -0.1218)
OKLCHoklch(41.35% 0.123 263.1)
XYZxyz(7.8586, 6.8408, 26.1004)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26478D #8D6C26
analogous
#267A8D #26478D #39268D
triadic
#26478D #8D2647 #478D26
tetradic
#26478D #8D267A #8D6C26 #268D39
square
#26478D #8D267A #8D6C26 #268D39
split-complementary
#26478D #8D3926 #7A8D26
monochromatic
#0C162D #192F5D #26478D #335FBD #5B81D3

Accessibility & contrast

On white

8.87
#26478D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #26478D
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26478D#FFFFFF#000000##FFFFFF
##26478D1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204F90
Deuteranopia (green-blind)
#02468C
Tritanopia (blue-blind)
#005863
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #26478d;
/* rgb */ color: rgb(38, 71, 141);
/* oklch */ color: oklch(41.4% 0.123 263.1);
Tailwind
colors: {
  custom: {
    50: '#6e79af',
    500: '#26478d',
    950: '#000000',
  },
}
SCSS
$custom: #26478d;
$custom-light: #6e79af;
$custom-dark: #000000;
JSON
{
  "hex": "#26478d",
  "rgb": {
    "r": 38,
    "g": 71,
    "b": 141
  },
  "hsl": {
    "h": 220.777,
    "s": 57.542,
    "l": 35.098
  },
  "oklch": {
    "l": 0.41352,
    "c": 0.12266,
    "h": 263.1
  },
  "luminance": 0.06842
}

Semantic roles & 50–950 ramp

primary
#26478D
secondary
#B89957
accent
#B047E1
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #26478D

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

Preview Lab → · Contrast checker → · Palette generator →

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