#26579E#26579E

#26579E is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.2% C 0.127 H 258.0°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#26579E
RGBrgb(38, 87, 158)
HSLhsl(216, 61%, 38%)
HSVhsv(216, 76%, 62%)
CMYKcmyk(75.9%, 44.9%, 0%, 38%)
CIE-LABlab(37.29, 9.27, -43.36)
CIE-LCHlch(37.29, 44.34, 282.07°)
OKLaboklab(46.21% -0.0263 -0.1242)
OKLCHoklch(46.21% 0.127 258)
XYZxyz(10.3768, 9.6959, 33.6657)
Luminance0.0970 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26579E #9E6D26
analogous
#26939E #26579E #31269E
triadic
#26579E #9E2657 #579E26
tetradic
#26579E #9E2693 #9E6D26 #269E31
square
#26579E #9E2693 #9E6D26 #269E31
split-complementary
#26579E #9E3126 #939E26
monochromatic
#0E213B #1A3C6D #26579E #3372CE #6594DA

Accessibility & contrast

On white

7.14
#26579E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#26579E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26579E
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26579E#FFFFFF#000000##FFFFFF
##26579E1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335EA1
Deuteranopia (green-blind)
#1B539D
Tritanopia (blue-blind)
#006873
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #26579e;
/* rgb */ color: rgb(38, 87, 158);
/* oklch */ color: oklch(46.2% 0.127 258.0);
Tailwind
colors: {
  custom: {
    50: '#7285bb',
    500: '#26579e',
    950: '#000000',
  },
}
SCSS
$custom: #26579e;
$custom-light: #7285bb;
$custom-dark: #000000;
JSON
{
  "hex": "#26579e",
  "rgb": {
    "r": 38,
    "g": 87,
    "b": 158
  },
  "hsl": {
    "h": 215.5,
    "s": 61.224,
    "l": 38.431
  },
  "oklch": {
    "l": 0.46211,
    "c": 0.12694,
    "h": 258
  },
  "luminance": 0.09697
}

Semantic roles & 50–950 ramp

primary
#26579E
secondary
#C09960
accent
#A343E4
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #26579E

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

Preview Lab → · Contrast checker → · Palette generator →

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