#26239D#26239D

#26239D is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.2% C 0.187 H 272.9°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#26239D
RGBrgb(38, 35, 157)
HSLhsl(241, 64%, 38%)
HSVhsv(241, 78%, 62%)
CMYKcmyk(75.8%, 77.7%, 0%, 38.4%)
CIE-LABlab(23.83, 42.63, -64.69)
CIE-LCHlch(23.83, 77.47, 303.39°)
OKLaboklab(36.17% 0.0095 -0.1872)
OKLCHoklch(36.17% 0.187 272.9)
XYZxyz(7.4841, 4.0477, 32.2786)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26239D #9A9D23
analogous
#235D9D #26239D #63239D
triadic
#26239D #9D2623 #239D26
tetradic
#26239D #9D235D #9A9D23 #239D63
square
#26239D #9D235D #9A9D23 #239D63
split-complementary
#26239D #9D6323 #5D9D23
monochromatic
#0E0D39 #1A186B #26239D #322ECF #625FDB

Accessibility & contrast

On white

11.60
#26239D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#26239D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26239D
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26239D#FFFFFF#000000##FFFFFF
##26239D1.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA0
Deuteranopia (green-blind)
#00339B
Tritanopia (blue-blind)
#00475F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #26239d;
/* rgb */ color: rgb(38, 35, 157);
/* oklch */ color: oklch(36.2% 0.187 272.9);
Tailwind
colors: {
  custom: {
    50: '#7560bb',
    500: '#26239d',
    950: '#000000',
  },
}
SCSS
$custom: #26239d;
$custom-light: #7560bb;
$custom-dark: #000000;
JSON
{
  "hex": "#26239d",
  "rgb": {
    "r": 38,
    "g": 35,
    "b": 157
  },
  "hsl": {
    "h": 241.475,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.36172,
    "c": 0.18743,
    "h": 272.9
  },
  "luminance": 0.04048
}

Semantic roles & 50–950 ramp

primary
#26239D
secondary
#BEC05C
accent
#E741E3
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #26239D

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

Preview Lab → · Contrast checker → · Palette generator →

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