#26239F#26239F

#26239F is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.4% C 0.190 H 272.7°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#26239F
RGBrgb(38, 35, 159)
HSLhsl(241, 64%, 38%)
HSVhsv(241, 78%, 62%)
CMYKcmyk(76.1%, 78%, 0%, 37.6%)
CIE-LABlab(24.05, 43.30, -65.54)
CIE-LCHlch(24.05, 78.55, 303.45°)
OKLaboklab(36.4% 0.009 -0.1897)
OKLCHoklch(36.4% 0.19 272.7)
XYZxyz(7.6563, 4.1165, 33.1852)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26239F #9C9F23
analogous
#235E9F #26239F #64239F
triadic
#26239F #9F2623 #239F26
tetradic
#26239F #9F235E #9C9F23 #239F64
square
#26239F #9F235E #9C9F23 #239F64
split-complementary
#26239F #9F6423 #5E9F23
monochromatic
#0E0D3B #1A186D #26239F #322ED1 #6360DC

Accessibility & contrast

On white

11.52
#26239F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #26239F
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26239F#FFFFFF#000000##FFFFFF
##26239F1.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA3
Deuteranopia (green-blind)
#00339D
Tritanopia (blue-blind)
#004860
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #26239f;
/* rgb */ color: rgb(38, 35, 159);
/* oklch */ color: oklch(36.4% 0.190 272.7);
Tailwind
colors: {
  custom: {
    50: '#7660bd',
    500: '#26239f',
    950: '#000000',
  },
}
SCSS
$custom: #26239f;
$custom-light: #7660bd;
$custom-dark: #000000;
JSON
{
  "hex": "#26239f",
  "rgb": {
    "r": 38,
    "g": 35,
    "b": 159
  },
  "hsl": {
    "h": 241.452,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.36396,
    "c": 0.18988,
    "h": 272.7
  },
  "luminance": 0.04117
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #26239F

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

Preview Lab → · Contrast checker → · Palette generator →

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