#26478B#26478B

#26478B is a dark, moderate blue. Relative luminance 0.068; OKLCH L 41.2% C 0.120 H 262.8°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#26478B
RGBrgb(38, 71, 139)
HSLhsl(220, 57%, 35%)
HSVhsv(220, 73%, 55%)
CMYKcmyk(72.7%, 48.9%, 0%, 45.5%)
CIE-LABlab(31.30, 12.55, -41.43)
CIE-LCHlch(31.30, 43.29, 286.85°)
OKLaboklab(41.2% -0.015 -0.1188)
OKLCHoklch(41.2% 0.12 262.8)
XYZxyz(7.7111, 6.7818, 25.3237)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26478B #8B6A26
analogous
#267A8B #26478B #38268B
triadic
#26478B #8B2647 #478B26
tetradic
#26478B #8B267A #8B6A26 #268B38
square
#26478B #8B267A #8B6A26 #268B38
split-complementary
#26478B #8B3826 #7A8B26
monochromatic
#0C162B #192E5B #26478B #3360BB #5A81D2

Accessibility & contrast

On white

8.91
#26478B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#26478B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26478B
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26478B#FFFFFF#000000##FFFFFF
##26478B1.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224F8E
Deuteranopia (green-blind)
#08458A
Tritanopia (blue-blind)
#005762
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #26478b;
/* rgb */ color: rgb(38, 71, 139);
/* oklch */ color: oklch(41.2% 0.120 262.8);
Tailwind
colors: {
  custom: {
    50: '#6e79ad',
    500: '#26478b',
    950: '#000000',
  },
}
SCSS
$custom: #26478b;
$custom-light: #6e79ad;
$custom-dark: #000000;
JSON
{
  "hex": "#26478b",
  "rgb": {
    "r": 38,
    "g": 71,
    "b": 139
  },
  "hsl": {
    "h": 220.396,
    "s": 57.062,
    "l": 34.706
  },
  "oklch": {
    "l": 0.41203,
    "c": 0.11975,
    "h": 262.8
  },
  "luminance": 0.06783
}

Semantic roles & 50–950 ramp

primary
#26478B
secondary
#B79756
accent
#AE47E0
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #26478B

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

Preview Lab → · Contrast checker → · Palette generator →

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