#26398D#26398D

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

Color values

HEX#26398D
RGBrgb(38, 57, 141)
HSLhsl(229, 58%, 35%)
HSVhsv(229, 73%, 55%)
CMYKcmyk(73%, 59.6%, 0%, 44.7%)
CIE-LABlab(27.46, 22.92, -48.88)
CIE-LCHlch(27.46, 53.99, 295.12°)
OKLaboklab(38.35% -0.0024 -0.1409)
OKLCHoklch(38.35% 0.141 269)
XYZxyz(7.0685, 5.2607, 25.8370)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26398D #8D7A26
analogous
#266C8D #26398D #46268D
triadic
#26398D #8D2639 #398D26
tetradic
#26398D #8D266C #8D7A26 #268D46
square
#26398D #8D266C #8D7A26 #268D46
split-complementary
#26398D #8D4626 #6C8D26
monochromatic
#0C122D #19265D #26398D #334CBD #5B71D3

Accessibility & contrast

On white

10.23
#26398D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#26398D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26398D
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26398D#FFFFFF#000000##FFFFFF
##26398D1.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #26398d;
/* rgb */ color: rgb(38, 57, 141);
/* oklch */ color: oklch(38.3% 0.141 269.0);
Tailwind
colors: {
  custom: {
    50: '#6f6faf',
    500: '#26398d',
    950: '#000000',
  },
}
SCSS
$custom: #26398d;
$custom-light: #6f6faf;
$custom-dark: #000000;
JSON
{
  "hex": "#26398d",
  "rgb": {
    "r": 38,
    "g": 57,
    "b": 141
  },
  "hsl": {
    "h": 228.932,
    "s": 57.542,
    "l": 35.098
  },
  "oklch": {
    "l": 0.38345,
    "c": 0.14097,
    "h": 269
  },
  "luminance": 0.05261
}

Semantic roles & 50–950 ramp

primary
#26398D
secondary
#B8A657
accent
#C447E1
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #26398D

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

Preview Lab → · Contrast checker → · Palette generator →

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