#26338F#26338F

#26338F is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.3% C 0.151 H 270.8°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#26338F
RGBrgb(38, 51, 143)
HSLhsl(233, 58%, 35%)
HSVhsv(233, 73%, 56%)
CMYKcmyk(73.4%, 64.3%, 0%, 43.9%)
CIE-LABlab(26.05, 27.74, -52.43)
CIE-LCHlch(26.05, 59.32, 297.88°)
OKLaboklab(37.35% 0.0022 -0.1514)
OKLCHoklch(37.35% 0.151 270.8)
XYZxyz(6.9394, 4.7622, 26.5348)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26338F #8F8226
analogous
#26688F #26338F #4D268F
triadic
#26338F #8F2633 #338F26
tetradic
#26338F #8F2668 #8F8226 #268F4D
square
#26338F #8F2668 #8F8226 #268F4D
split-complementary
#26338F #8F4D26 #688F26
monochromatic
#0C112E #19225F #26338F #3344BF #5C6BD4

Accessibility & contrast

On white

10.75
#26338F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#26338F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26338F
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26338F#FFFFFF#000000##FFFFFF
##26338F1.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004392
Deuteranopia (green-blind)
#00398D
Tritanopia (blue-blind)
#004B5C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #26338f;
/* rgb */ color: rgb(38, 51, 143);
/* oklch */ color: oklch(37.3% 0.151 270.8);
Tailwind
colors: {
  custom: {
    50: '#706ab1',
    500: '#26338f',
    950: '#000000',
  },
}
SCSS
$custom: #26338f;
$custom-light: #706ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#26338f",
  "rgb": {
    "r": 38,
    "g": 51,
    "b": 143
  },
  "hsl": {
    "h": 232.571,
    "s": 58.011,
    "l": 35.49
  },
  "oklch": {
    "l": 0.37347,
    "c": 0.15146,
    "h": 270.8
  },
  "luminance": 0.04763
}

Semantic roles & 50–950 ramp

primary
#26338F
secondary
#B9AD58
accent
#CE47E1
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #26338F

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

Preview Lab → · Contrast checker → · Palette generator →

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