#26398F#26398F

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

Color values

HEX#26398F
RGBrgb(38, 57, 143)
HSLhsl(229, 58%, 35%)
HSVhsv(229, 73%, 56%)
CMYKcmyk(73.4%, 60.1%, 0%, 43.9%)
CIE-LABlab(27.63, 23.68, -49.85)
CIE-LCHlch(27.63, 55.19, 295.41°)
OKLaboklab(38.52% -0.0024 -0.1438)
OKLCHoklch(38.52% 0.144 269)
XYZxyz(7.2187, 5.3208, 26.6278)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26398F #8F7C26
analogous
#266D8F #26398F #47268F
triadic
#26398F #8F2639 #398F26
tetradic
#26398F #8F266D #8F7C26 #268F47
square
#26398F #8F266D #8F7C26 #268F47
split-complementary
#26398F #8F4726 #6D8F26
monochromatic
#0C122E #19265F #26398F #334CBF #5C71D4

Accessibility & contrast

On white

10.17
#26398F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #26398F
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26398F#FFFFFF#000000##FFFFFF
##26398F1.0010.172.0610.17
#FFFFFF10.171.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004692
Deuteranopia (green-blind)
#003D8D
Tritanopia (blue-blind)
#004E5E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #26398f;
/* rgb */ color: rgb(38, 57, 143);
/* oklch */ color: oklch(38.5% 0.144 269.0);
Tailwind
colors: {
  custom: {
    50: '#706fb1',
    500: '#26398f',
    950: '#000000',
  },
}
SCSS
$custom: #26398f;
$custom-light: #706fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#26398f",
  "rgb": {
    "r": 38,
    "g": 57,
    "b": 143
  },
  "hsl": {
    "h": 229.143,
    "s": 58.011,
    "l": 35.49
  },
  "oklch": {
    "l": 0.3852,
    "c": 0.14381,
    "h": 269
  },
  "luminance": 0.05321
}

Semantic roles & 50–950 ramp

primary
#26398F
secondary
#B9A758
accent
#C547E1
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #26398F

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

Preview Lab → · Contrast checker → · Palette generator →

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