#26308E#26308E

#26308E is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.7% C 0.154 H 271.6°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#26308E
RGBrgb(38, 48, 142)
HSLhsl(234, 58%, 35%)
HSVhsv(234, 73%, 56%)
CMYKcmyk(73.2%, 66.2%, 0%, 44.3%)
CIE-LABlab(25.19, 29.37, -53.21)
CIE-LCHlch(25.19, 60.77, 298.90°)
OKLaboklab(36.69% 0.0044 -0.1537)
OKLCHoklch(36.69% 0.154 271.6)
XYZxyz(6.7371, 4.4783, 26.0953)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26308E #8E8426
analogous
#26648E #26308E #50268E
triadic
#26308E #8E2630 #308E26
tetradic
#26308E #8E2664 #8E8426 #268E50
square
#26308E #8E2664 #8E8426 #268E50
split-complementary
#26308E #8E5026 #648E26
monochromatic
#0C0F2D #19205E #26308E #3340BE #5B67D3

Accessibility & contrast

On white

11.08
#26308E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#26308E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26308E
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26308E#FFFFFF#000000##FFFFFF
##26308E1.0011.081.9011.08
#FFFFFF11.081.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004191
Deuteranopia (green-blind)
#00378C
Tritanopia (blue-blind)
#00495A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #26308e;
/* rgb */ color: rgb(38, 48, 142);
/* oklch */ color: oklch(36.7% 0.154 271.6);
Tailwind
colors: {
  custom: {
    50: '#7068b0',
    500: '#26308e',
    950: '#000000',
  },
}
SCSS
$custom: #26308e;
$custom-light: #7068b0;
$custom-dark: #000000;
JSON
{
  "hex": "#26308e",
  "rgb": {
    "r": 38,
    "g": 48,
    "b": 142
  },
  "hsl": {
    "h": 234.231,
    "s": 57.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.36693,
    "c": 0.1538,
    "h": 271.6
  },
  "luminance": 0.04479
}

Semantic roles & 50–950 ramp

primary
#26308E
secondary
#B8AF58
accent
#D247E1
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090611
muted
#7B7A80

Preview Lab

Preview with #26308E

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

Preview Lab → · Contrast checker → · Palette generator →

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