#26579C#26579C

#26579C is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.1% C 0.124 H 257.6°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#26579C
RGBrgb(38, 87, 156)
HSLhsl(215, 61%, 38%)
HSVhsv(215, 76%, 61%)
CMYKcmyk(75.6%, 44.2%, 0%, 38.8%)
CIE-LABlab(37.17, 8.49, -42.36)
CIE-LCHlch(37.17, 43.20, 281.33°)
OKLaboklab(46.07% -0.0267 -0.1212)
OKLCHoklch(46.07% 0.124 257.6)
XYZxyz(10.2061, 9.6276, 32.7665)
Luminance0.0963 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26579C #9C6B26
analogous
#26929C #26579C #30269C
triadic
#26579C #9C2657 #579C26
tetradic
#26579C #9C2692 #9C6B26 #269C30
square
#26579C #9C2692 #9C6B26 #269C30
split-complementary
#26579C #9C3026 #929C26
monochromatic
#0E203A #1A3C6B #26579C #3272CD #6394D9

Accessibility & contrast

On white

7.18
#26579C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#26579C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26579C
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26579C#FFFFFF#000000##FFFFFF
##26579C1.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355D9F
Deuteranopia (green-blind)
#1F529B
Tritanopia (blue-blind)
#006772
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #26579c;
/* rgb */ color: rgb(38, 87, 156);
/* oklch */ color: oklch(46.1% 0.124 257.6);
Tailwind
colors: {
  custom: {
    50: '#7185ba',
    500: '#26579c',
    950: '#000000',
  },
}
SCSS
$custom: #26579c;
$custom-light: #7185ba;
$custom-dark: #000000;
JSON
{
  "hex": "#26579c",
  "rgb": {
    "r": 38,
    "g": 87,
    "b": 156
  },
  "hsl": {
    "h": 215.085,
    "s": 60.825,
    "l": 38.039
  },
  "oklch": {
    "l": 0.46074,
    "c": 0.12415,
    "h": 257.6
  },
  "luminance": 0.09629
}

Semantic roles & 50–950 ramp

primary
#26579C
secondary
#BF975F
accent
#A144E4
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #26579C

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

Preview Lab → · Contrast checker → · Palette generator →

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