#26295F#26295F

#26295F is a dark, moderate blue. Relative luminance 0.028; OKLCH L 31.1% C 0.094 H 277.0°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#26295F
RGBrgb(38, 41, 95)
HSLhsl(237, 43%, 26%)
HSVhsv(237, 60%, 37%)
CMYKcmyk(60%, 56.8%, 0%, 62.7%)
CIE-LABlab(19.32, 16.54, -32.74)
CIE-LCHlch(19.32, 36.68, 296.80°)
OKLaboklab(31.1% 0.0115 -0.0937)
OKLCHoklch(31.1% 0.094 277)
XYZxyz(3.6572, 2.8239, 11.1766)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26295F #5F5C26
analogous
#26455F #26295F #3F265F
triadic
#26295F #5F2629 #295F26
tetradic
#26295F #5F2645 #5F5C26 #265F3F
square
#26295F #5F2645 #5F5C26 #265F3F
split-complementary
#26295F #5F3F26 #455F26
monochromatic
#090916 #151633 #26295F #373C8B #494FB6

Accessibility & contrast

On white

13.42
#26295F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#26295F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26295F
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26295F#FFFFFF#000000##FFFFFF
##26295F1.0013.421.5613.42
#FFFFFF13.421.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093161
Deuteranopia (green-blind)
#002D5E
Tritanopia (blue-blind)
#07353F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #26295f;
/* rgb */ color: rgb(38, 41, 95);
/* oklch */ color: oklch(31.1% 0.094 277.0);
Tailwind
colors: {
  custom: {
    50: '#66628d',
    500: '#26295f',
    950: '#000000',
  },
}
SCSS
$custom: #26295f;
$custom-light: #66628d;
$custom-dark: #000000;
JSON
{
  "hex": "#26295f",
  "rgb": {
    "r": 38,
    "g": 41,
    "b": 95
  },
  "hsl": {
    "h": 236.842,
    "s": 42.857,
    "l": 26.078
  },
  "oklch": {
    "l": 0.31102,
    "c": 0.09439,
    "h": 277
  },
  "luminance": 0.02824
}

Semantic roles & 50–950 ramp

primary
#26295F
secondary
#928F4F
accent
#CC55D3
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#06050C
muted
#7A797D

Preview Lab

Preview with #26295F

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

Preview Lab → · Contrast checker → · Palette generator →

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