#26207F#26207F

#26207F is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.5% C 0.152 H 276.5°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#26207F
RGBrgb(38, 32, 127)
HSLhsl(244, 60%, 31%)
HSVhsv(244, 75%, 50%)
CMYKcmyk(70.1%, 74.8%, 0%, 50.2%)
CIE-LABlab(19.95, 34.18, -52.42)
CIE-LCHlch(19.95, 62.58, 303.11°)
OKLaboklab(32.46% 0.0172 -0.1514)
OKLCHoklch(32.46% 0.152 276.5)
XYZxyz(5.1454, 2.9769, 20.3780)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26207F #797F20
analogous
#20497F #26207F #55207F
triadic
#26207F #7F2620 #207F26
tetradic
#26207F #7F2049 #797F20 #207F55
square
#26207F #7F2049 #797F20 #207F55
split-complementary
#26207F #7F5520 #497F20
monochromatic
#09071D #17144E #26207F #352CB0 #5148D1

Accessibility & contrast

On white

13.16
#26207F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#26207F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26207F
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26207F#FFFFFF#000000##FFFFFF
##26207F1.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003482
Deuteranopia (green-blind)
#002C7D
Tritanopia (blue-blind)
#003B4D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #26207f;
/* rgb */ color: rgb(38, 32, 127);
/* oklch */ color: oklch(32.5% 0.152 276.5);
Tailwind
colors: {
  custom: {
    50: '#6e5da5',
    500: '#26207f',
    950: '#000000',
  },
}
SCSS
$custom: #26207f;
$custom-light: #6e5da5;
$custom-dark: #000000;
JSON
{
  "hex": "#26207f",
  "rgb": {
    "r": 38,
    "g": 32,
    "b": 127
  },
  "hsl": {
    "h": 243.789,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.32457,
    "c": 0.15242,
    "h": 276.5
  },
  "luminance": 0.02977
}

Semantic roles & 50–950 ramp

primary
#26207F
secondary
#ABB249
accent
#E345D9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #26207F

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

Preview Lab → · Contrast checker → · Palette generator →

#26207F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva