#26398E#26398E

#26398E is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.4% C 0.142 H 269.0°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#26398E
RGBrgb(38, 57, 142)
HSLhsl(229, 58%, 35%)
HSVhsv(229, 73%, 56%)
CMYKcmyk(73.2%, 59.9%, 0%, 44.3%)
CIE-LABlab(27.55, 23.30, -49.36)
CIE-LCHlch(27.55, 54.59, 295.27°)
OKLaboklab(38.43% -0.0024 -0.1424)
OKLCHoklch(38.43% 0.142 269)
XYZxyz(7.1433, 5.2906, 26.2307)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26398E #8E7B26
analogous
#266D8E #26398E #47268E
triadic
#26398E #8E2639 #398E26
tetradic
#26398E #8E266D #8E7B26 #268E47
square
#26398E #8E266D #8E7B26 #268E47
split-complementary
#26398E #8E4726 #6D8E26
monochromatic
#0C122D #19265E #26398E #334CBE #5B71D3

Accessibility & contrast

On white

10.20
#26398E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#26398E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26398E
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26398E#FFFFFF#000000##FFFFFF
##26398E1.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004691
Deuteranopia (green-blind)
#003C8C
Tritanopia (blue-blind)
#004E5D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #26398e;
/* rgb */ color: rgb(38, 57, 142);
/* oklch */ color: oklch(38.4% 0.142 269.0);
Tailwind
colors: {
  custom: {
    50: '#6f6fb0',
    500: '#26398e',
    950: '#000000',
  },
}
SCSS
$custom: #26398e;
$custom-light: #6f6fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#26398e",
  "rgb": {
    "r": 38,
    "g": 57,
    "b": 142
  },
  "hsl": {
    "h": 229.038,
    "s": 57.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.38432,
    "c": 0.14239,
    "h": 269
  },
  "luminance": 0.05291
}

Semantic roles & 50–950 ramp

primary
#26398E
secondary
#B8A658
accent
#C547E1
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #26398E

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

Preview Lab → · Contrast checker → · Palette generator →

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