#26338A#26338A

#26338A is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.9% C 0.144 H 270.9°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#26338A
RGBrgb(38, 51, 138)
HSLhsl(232, 57%, 35%)
HSVhsv(232, 72%, 54%)
CMYKcmyk(72.5%, 63%, 0%, 45.9%)
CIE-LABlab(25.61, 25.86, -50.05)
CIE-LCHlch(25.61, 56.34, 297.32°)
OKLaboklab(36.89% 0.0023 -0.1445)
OKLCHoklch(36.89% 0.144 270.9)
XYZxyz(6.5690, 4.6140, 24.5842)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26338A #8A7D26
analogous
#26658A #26338A #4B268A
triadic
#26338A #8A2633 #338A26
tetradic
#26338A #8A2665 #8A7D26 #268A4B
square
#26338A #8A2665 #8A7D26 #268A4B
split-complementary
#26338A #8A4B26 #658A26
monochromatic
#0C102A #19215A #26338A #3345BA #5969D1

Accessibility & contrast

On white

10.92
#26338A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#26338A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26338A
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26338A#FFFFFF#000000##FFFFFF
##26338A1.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418D
Deuteranopia (green-blind)
#003888
Tritanopia (blue-blind)
#004959
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #26338a;
/* rgb */ color: rgb(38, 51, 138);
/* oklch */ color: oklch(36.9% 0.144 270.9);
Tailwind
colors: {
  custom: {
    50: '#6f6aad',
    500: '#26338a',
    950: '#000000',
  },
}
SCSS
$custom: #26338a;
$custom-light: #6f6aad;
$custom-dark: #000000;
JSON
{
  "hex": "#26338a",
  "rgb": {
    "r": 38,
    "g": 51,
    "b": 138
  },
  "hsl": {
    "h": 232.2,
    "s": 56.818,
    "l": 34.51
  },
  "oklch": {
    "l": 0.36885,
    "c": 0.14448,
    "h": 270.9
  },
  "luminance": 0.04615
}

Semantic roles & 50–950 ramp

primary
#26338A
secondary
#B6AA56
accent
#CC48E0
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #26338A

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

Preview Lab → · Contrast checker → · Palette generator →

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