#26128F#26128F

#26128F is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.6% C 0.184 H 276.0°. Best body text is #FFFFFF at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#26128F
RGBrgb(38, 18, 143)
HSLhsl(250, 78%, 32%)
HSVhsv(250, 87%, 56%)
CMYKcmyk(73.4%, 87.4%, 0%, 43.9%)
CIE-LABlab(19.34, 46.45, -63.49)
CIE-LCHlch(19.34, 78.67, 306.19°)
OKLaboklab(32.57% 0.0194 -0.1834)
OKLCHoklch(32.57% 0.184 276)
XYZxyz(5.9719, 2.8273, 26.2123)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26128F #7B8F12
analogous
#123D8F #26128F #65128F
triadic
#26128F #8F2612 #128F26
tetradic
#26128F #8F123D #7B8F12 #128F65
square
#26128F #8F123D #7B8F12 #128F65
split-complementary
#26128F #8F6512 #3D8F12
monochromatic
#090422 #180B59 #26128F #3419C5 #5236E6

Accessibility & contrast

On white

13.41
#26128F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#26128F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26128F
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26128F#FFFFFF#000000##FFFFFF
##26128F1.0013.411.5713.41
#FFFFFF13.411.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003492
Deuteranopia (green-blind)
#00298D
Tritanopia (blue-blind)
#003C54
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #26128f;
/* rgb */ color: rgb(38, 18, 143);
/* oklch */ color: oklch(32.6% 0.184 276.0);
Tailwind
colors: {
  custom: {
    50: '#7356b1',
    500: '#26128f',
    950: '#000000',
  },
}
SCSS
$custom: #26128f;
$custom-light: #7356b1;
$custom-dark: #000000;
JSON
{
  "hex": "#26128f",
  "rgb": {
    "r": 38,
    "g": 18,
    "b": 143
  },
  "hsl": {
    "h": 249.6,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.32572,
    "c": 0.18446,
    "h": 276
  },
  "luminance": 0.02828
}

Semantic roles & 50–950 ramp

primary
#26128F
secondary
#ADC33A
accent
#F434D5
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #26128F

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

Preview Lab → · Contrast checker → · Palette generator →

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