#26238A#26238A

#26238A is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.1% C 0.164 H 274.7°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#26238A
RGBrgb(38, 35, 138)
HSLhsl(242, 60%, 34%)
HSVhsv(242, 75%, 54%)
CMYKcmyk(72.5%, 74.6%, 0%, 45.9%)
CIE-LABlab(21.76, 36.19, -56.37)
CIE-LCHlch(21.76, 66.98, 302.70°)
OKLaboklab(34.09% 0.0133 -0.163)
OKLCHoklch(34.09% 0.164 274.7)
XYZxyz(5.9863, 3.4485, 24.3900)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26238A #878A23
analogous
#23548A #26238A #5A238A
triadic
#26238A #8A2623 #238A26
tetradic
#26238A #8A2354 #878A23 #238A5A
square
#26238A #8A2354 #878A23 #238A5A
split-complementary
#26238A #8A5A23 #548A23
monochromatic
#0B0A28 #191759 #26238A #332FBB #5854D4

Accessibility & contrast

On white

12.43
#26238A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#26238A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26238A
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26238A#FFFFFF#000000##FFFFFF
##26238A1.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398D
Deuteranopia (green-blind)
#002F88
Tritanopia (blue-blind)
#004054
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #26238a;
/* rgb */ color: rgb(38, 35, 138);
/* oklch */ color: oklch(34.1% 0.164 274.7);
Tailwind
colors: {
  custom: {
    50: '#705fad',
    500: '#26238a',
    950: '#000000',
  },
}
SCSS
$custom: #26238a;
$custom-light: #705fad;
$custom-dark: #000000;
JSON
{
  "hex": "#26238a",
  "rgb": {
    "r": 38,
    "g": 35,
    "b": 138
  },
  "hsl": {
    "h": 241.748,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.34091,
    "c": 0.16352,
    "h": 274.7
  },
  "luminance": 0.03449
}

Semantic roles & 50–950 ramp

primary
#26238A
secondary
#B5B751
accent
#E345DE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #26238A

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

Preview Lab → · Contrast checker → · Palette generator →

#26238A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva