#26319F#26319F

#26319F is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.5% C 0.175 H 270.7°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#26319F
RGBrgb(38, 49, 159)
HSLhsl(235, 61%, 39%)
HSVhsv(235, 76%, 62%)
CMYKcmyk(76.1%, 69.2%, 0%, 37.6%)
CIE-LABlab(27.05, 34.96, -60.60)
CIE-LCHlch(27.05, 69.96, 299.98°)
OKLaboklab(38.54% 0.0023 -0.1753)
OKLCHoklch(38.54% 0.175 270.7)
XYZxyz(8.1535, 5.1110, 33.3510)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26319F #9F9426
analogous
#266D9F #26319F #57269F
triadic
#26319F #9F2631 #319F26
tetradic
#26319F #9F266D #9F9426 #269F57
square
#26319F #9F266D #9F9426 #269F57
split-complementary
#26319F #9F5726 #6D9F26
monochromatic
#0E133C #1A226E #26319F #3442CE #6570DA

Accessibility & contrast

On white

10.38
#26319F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#26319F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26319F
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26319F#FFFFFF#000000##FFFFFF
##26319F1.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A2
Deuteranopia (green-blind)
#003A9D
Tritanopia (blue-blind)
#004F64
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #26319f;
/* rgb */ color: rgb(38, 49, 159);
/* oklch */ color: oklch(38.5% 0.175 270.7);
Tailwind
colors: {
  custom: {
    50: '#7469bc',
    500: '#26319f',
    950: '#000000',
  },
}
SCSS
$custom: #26319f;
$custom-light: #7469bc;
$custom-dark: #000000;
JSON
{
  "hex": "#26319f",
  "rgb": {
    "r": 38,
    "g": 49,
    "b": 159
  },
  "hsl": {
    "h": 234.545,
    "s": 61.421,
    "l": 38.627
  },
  "oklch": {
    "l": 0.38536,
    "c": 0.17535,
    "h": 270.7
  },
  "luminance": 0.05112
}

Semantic roles & 50–950 ramp

primary
#26319F
secondary
#C0B761
accent
#D643E5
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #26319F

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

Preview Lab → · Contrast checker → · Palette generator →

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