#26268F#26268F

#26268F is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.1% C 0.167 H 273.7°. Best body text is #FFFFFF at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#26268F
RGBrgb(38, 38, 143)
HSLhsl(240, 58%, 35%)
HSVhsv(240, 73%, 56%)
CMYKcmyk(73.4%, 73.4%, 0%, 43.9%)
CIE-LABlab(22.93, 36.11, -57.54)
CIE-LCHlch(22.93, 67.94, 302.11°)
OKLaboklab(35.09% 0.0107 -0.1664)
OKLCHoklch(35.09% 0.167 273.7)
XYZxyz(6.4487, 3.7808, 26.3712)
Luminance0.0378 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26268F #8F8F26
analogous
#265A8F #26268F #5A268F
triadic
#26268F #8F2626 #268F26
tetradic
#26268F #8F265A #8F8F26 #268F5A
square
#26268F #8F265A #8F8F26 #268F5A
split-complementary
#26268F #8F5A26 #5A8F26
monochromatic
#0C0C2E #19195F #26268F #3333BF #5C5CD4

Accessibility & contrast

On white

11.96
#26268F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#26268F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26268F
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26268F#FFFFFF#000000##FFFFFF
##26268F1.0011.961.7611.96
#FFFFFF11.961.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C92
Deuteranopia (green-blind)
#00328D
Tritanopia (blue-blind)
#004458
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #26268f;
/* rgb */ color: rgb(38, 38, 143);
/* oklch */ color: oklch(35.1% 0.167 273.7);
Tailwind
colors: {
  custom: {
    50: '#7161b1',
    500: '#26268f',
    950: '#000000',
  },
}
SCSS
$custom: #26268f;
$custom-light: #7161b1;
$custom-dark: #000000;
JSON
{
  "hex": "#26268f",
  "rgb": {
    "r": 38,
    "g": 38,
    "b": 143
  },
  "hsl": {
    "h": 240,
    "s": 58.011,
    "l": 35.49
  },
  "oklch": {
    "l": 0.35087,
    "c": 0.16676,
    "h": 273.7
  },
  "luminance": 0.03781
}

Semantic roles & 50–950 ramp

primary
#26268F
secondary
#B9B958
accent
#E147E1
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #26268F

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

Preview Lab → · Contrast checker → · Palette generator →

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