#26338D#26338D

#26338D is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.2% C 0.149 H 270.9°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#26338D
RGBrgb(38, 51, 141)
HSLhsl(232, 58%, 35%)
HSVhsv(232, 73%, 55%)
CMYKcmyk(73%, 63.8%, 0%, 44.7%)
CIE-LABlab(25.87, 26.99, -51.48)
CIE-LCHlch(25.87, 58.13, 297.67°)
OKLaboklab(37.16% 0.0022 -0.1487)
OKLCHoklch(37.16% 0.149 270.9)
XYZxyz(6.7892, 4.7021, 25.7439)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26338D #8D8026
analogous
#26678D #26338D #4C268D
triadic
#26338D #8D2633 #338D26
tetradic
#26338D #8D2667 #8D8026 #268D4C
square
#26338D #8D2667 #8D8026 #268D4C
split-complementary
#26338D #8D4C26 #678D26
monochromatic
#0C102D #19225D #26338D #3344BD #5B6AD3

Accessibility & contrast

On white

10.82
#26338D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#26338D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26338D
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26338D#FFFFFF#000000##FFFFFF
##26338D1.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004290
Deuteranopia (green-blind)
#00398B
Tritanopia (blue-blind)
#004A5B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #26338d;
/* rgb */ color: rgb(38, 51, 141);
/* oklch */ color: oklch(37.2% 0.149 270.9);
Tailwind
colors: {
  custom: {
    50: '#706aaf',
    500: '#26338d',
    950: '#000000',
  },
}
SCSS
$custom: #26338d;
$custom-light: #706aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#26338d",
  "rgb": {
    "r": 38,
    "g": 51,
    "b": 141
  },
  "hsl": {
    "h": 232.427,
    "s": 57.542,
    "l": 35.098
  },
  "oklch": {
    "l": 0.37161,
    "c": 0.14868,
    "h": 270.9
  },
  "luminance": 0.04703
}

Semantic roles & 50–950 ramp

primary
#26338D
secondary
#B8AB57
accent
#CD47E1
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #26338D

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

Preview Lab → · Contrast checker → · Palette generator →

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