#26338C#26338C

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

Color values

HEX#26338C
RGBrgb(38, 51, 140)
HSLhsl(232, 57%, 35%)
HSVhsv(232, 73%, 55%)
CMYKcmyk(72.9%, 63.6%, 0%, 45.1%)
CIE-LABlab(25.78, 26.61, -51.01)
CIE-LCHlch(25.78, 57.53, 297.55°)
OKLaboklab(37.07% 0.0023 -0.1473)
OKLCHoklch(37.07% 0.147 270.9)
XYZxyz(6.7152, 4.6725, 25.3538)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26338C #8C7F26
analogous
#26668C #26338C #4C268C
triadic
#26338C #8C2633 #338C26
tetradic
#26338C #8C2666 #8C7F26 #268C4C
square
#26338C #8C2666 #8C7F26 #268C4C
split-complementary
#26338C #8C4C26 #668C26
monochromatic
#0C102C #19215C #26338C #3345BC #5A69D2

Accessibility & contrast

On white

10.85
#26338C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#26338C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26338C
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26338C#FFFFFF#000000##FFFFFF
##26338C1.0010.851.9310.85
#FFFFFF10.851.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428F
Deuteranopia (green-blind)
#00388A
Tritanopia (blue-blind)
#004A5A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #26338c;
/* rgb */ color: rgb(38, 51, 140);
/* oklch */ color: oklch(37.1% 0.147 270.9);
Tailwind
colors: {
  custom: {
    50: '#6f6aae',
    500: '#26338c',
    950: '#000000',
  },
}
SCSS
$custom: #26338c;
$custom-light: #6f6aae;
$custom-dark: #000000;
JSON
{
  "hex": "#26338c",
  "rgb": {
    "r": 38,
    "g": 51,
    "b": 140
  },
  "hsl": {
    "h": 232.353,
    "s": 57.303,
    "l": 34.902
  },
  "oklch": {
    "l": 0.37069,
    "c": 0.14729,
    "h": 270.9
  },
  "luminance": 0.04673
}

Semantic roles & 50–950 ramp

primary
#26338C
secondary
#B7AB57
accent
#CD47E1
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #26338C

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

Preview Lab → · Contrast checker → · Palette generator →

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