#26239E#26239E

#26239E is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.3% C 0.189 H 272.8°. Best body text is #FFFFFF at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#26239E
RGBrgb(38, 35, 158)
HSLhsl(241, 64%, 38%)
HSVhsv(241, 78%, 62%)
CMYKcmyk(75.9%, 77.8%, 0%, 38%)
CIE-LABlab(23.94, 42.96, -65.11)
CIE-LCHlch(23.94, 78.01, 303.42°)
OKLaboklab(36.28% 0.0093 -0.1884)
OKLCHoklch(36.28% 0.189 272.8)
XYZxyz(7.5698, 4.0820, 32.7301)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26239E #9B9E23
analogous
#235E9E #26239E #63239E
triadic
#26239E #9E2623 #239E26
tetradic
#26239E #9E235E #9B9E23 #239E63
square
#26239E #9E235E #9B9E23 #239E63
split-complementary
#26239E #9E6323 #5E9E23
monochromatic
#0E0D3A #1A186C #26239E #322ED0 #6360DC

Accessibility & contrast

On white

11.56
#26239E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#26239E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26239E
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26239E#FFFFFF#000000##FFFFFF
##26239E1.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA1
Deuteranopia (green-blind)
#00339C
Tritanopia (blue-blind)
#00485F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #26239e;
/* rgb */ color: rgb(38, 35, 158);
/* oklch */ color: oklch(36.3% 0.189 272.8);
Tailwind
colors: {
  custom: {
    50: '#7560bc',
    500: '#26239e',
    950: '#000000',
  },
}
SCSS
$custom: #26239e;
$custom-light: #7560bc;
$custom-dark: #000000;
JSON
{
  "hex": "#26239e",
  "rgb": {
    "r": 38,
    "g": 35,
    "b": 158
  },
  "hsl": {
    "h": 241.463,
    "s": 63.731,
    "l": 37.843
  },
  "oklch": {
    "l": 0.36284,
    "c": 0.18866,
    "h": 272.8
  },
  "luminance": 0.04083
}

Semantic roles & 50–950 ramp

primary
#26239E
secondary
#BEC15C
accent
#E741E3
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #26239E

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

Preview Lab → · Contrast checker → · Palette generator →

#26239E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva