#26238E#26238E

#26238E is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.5% C 0.169 H 274.3°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#26238E
RGBrgb(38, 35, 142)
HSLhsl(242, 60%, 35%)
HSVhsv(242, 75%, 56%)
CMYKcmyk(73.2%, 75.4%, 0%, 44.3%)
CIE-LABlab(22.18, 37.57, -58.16)
CIE-LCHlch(22.18, 69.23, 302.86°)
OKLaboklab(34.52% 0.0125 -0.1682)
OKLCHoklch(34.52% 0.169 274.3)
XYZxyz(6.2812, 3.5665, 25.9433)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26238E #8B8E23
analogous
#23568E #26238E #5B238E
triadic
#26238E #8E2623 #238E26
tetradic
#26238E #8E2356 #8B8E23 #238E5B
square
#26238E #8E2356 #8B8E23 #238E5B
split-complementary
#26238E #8E5B23 #568E23
monochromatic
#0C0B2C #19175D #26238E #332FBF #5A56D5

Accessibility & contrast

On white

12.26
#26238E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#26238E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26238E
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26238E#FFFFFF#000000##FFFFFF
##26238E1.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A91
Deuteranopia (green-blind)
#00308C
Tritanopia (blue-blind)
#004256
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #26238e;
/* rgb */ color: rgb(38, 35, 142);
/* oklch */ color: oklch(34.5% 0.169 274.3);
Tailwind
colors: {
  custom: {
    50: '#715fb0',
    500: '#26238e',
    950: '#000000',
  },
}
SCSS
$custom: #26238e;
$custom-light: #715fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#26238e",
  "rgb": {
    "r": 38,
    "g": 35,
    "b": 142
  },
  "hsl": {
    "h": 241.682,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.34521,
    "c": 0.16866,
    "h": 274.3
  },
  "luminance": 0.03567
}

Semantic roles & 50–950 ramp

primary
#26238E
secondary
#B7B953
accent
#E444DF
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #26238E

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

Preview Lab → · Contrast checker → · Palette generator →

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