#26268B#26268B

#26268B is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.7% C 0.162 H 274.0°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#26268B
RGBrgb(38, 38, 139)
HSLhsl(240, 57%, 35%)
HSVhsv(240, 73%, 55%)
CMYKcmyk(72.7%, 72.7%, 0%, 45.5%)
CIE-LABlab(22.52, 34.71, -55.73)
CIE-LCHlch(22.52, 65.66, 301.91°)
OKLaboklab(34.67% 0.0113 -0.1611)
OKLCHoklch(34.67% 0.162 274)
XYZxyz(6.1511, 3.6618, 24.8037)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26268B #8B8B26
analogous
#26598B #26268B #59268B
triadic
#26268B #8B2626 #268B26
tetradic
#26268B #8B2659 #8B8B26 #268B59
square
#26268B #8B2659 #8B8B26 #268B59
split-complementary
#26268B #8B5926 #598B26
monochromatic
#0C0C2B #19195B #26268B #3333BB #5A5AD2

Accessibility & contrast

On white

12.12
#26268B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#26268B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26268B
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26268B#FFFFFF#000000##FFFFFF
##26268B1.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8E
Deuteranopia (green-blind)
#003189
Tritanopia (blue-blind)
#004256
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #26268b;
/* rgb */ color: rgb(38, 38, 139);
/* oklch */ color: oklch(34.7% 0.162 274.0);
Tailwind
colors: {
  custom: {
    50: '#7061ae',
    500: '#26268b',
    950: '#000000',
  },
}
SCSS
$custom: #26268b;
$custom-light: #7061ae;
$custom-dark: #000000;
JSON
{
  "hex": "#26268b",
  "rgb": {
    "r": 38,
    "g": 38,
    "b": 139
  },
  "hsl": {
    "h": 240,
    "s": 57.062,
    "l": 34.706
  },
  "oklch": {
    "l": 0.34667,
    "c": 0.16154,
    "h": 274
  },
  "luminance": 0.03662
}

Semantic roles & 50–950 ramp

primary
#26268B
secondary
#B7B756
accent
#E047E0
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #26268B

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

Preview Lab → · Contrast checker → · Palette generator →

#26268B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva