#26248E#26248E

#26248E is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.7% C 0.168 H 274.1°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#26248E
RGBrgb(38, 36, 142)
HSLhsl(241, 60%, 35%)
HSVhsv(241, 75%, 56%)
CMYKcmyk(73.2%, 74.6%, 0%, 44.3%)
CIE-LABlab(22.40, 36.97, -57.81)
CIE-LCHlch(22.40, 68.62, 302.60°)
OKLaboklab(34.67% 0.012 -0.1672)
OKLCHoklch(34.67% 0.168 274.1)
XYZxyz(6.3111, 3.6262, 25.9533)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26248E #8C8E24
analogous
#24578E #26248E #5B248E
triadic
#26248E #8E2624 #248E26
tetradic
#26248E #8E2457 #8C8E24 #248E5B
square
#26248E #8E2457 #8C8E24 #248E5B
split-complementary
#26248E #8E5B24 #578E24
monochromatic
#0C0B2C #19185D #26248E #3330BF #5A58D5

Accessibility & contrast

On white

12.17
#26248E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#26248E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26248E
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26248E#FFFFFF#000000##FFFFFF
##26248E1.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #26248e;
/* rgb */ color: rgb(38, 36, 142);
/* oklch */ color: oklch(34.7% 0.168 274.1);
Tailwind
colors: {
  custom: {
    50: '#7160b0',
    500: '#26248e',
    950: '#000000',
  },
}
SCSS
$custom: #26248e;
$custom-light: #7160b0;
$custom-dark: #000000;
JSON
{
  "hex": "#26248e",
  "rgb": {
    "r": 38,
    "g": 36,
    "b": 142
  },
  "hsl": {
    "h": 241.132,
    "s": 59.551,
    "l": 34.902
  },
  "oklch": {
    "l": 0.34671,
    "c": 0.16761,
    "h": 274.1
  },
  "luminance": 0.03627
}

Semantic roles & 50–950 ramp

primary
#26248E
secondary
#B7B955
accent
#E345E0
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #26248E

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

Preview Lab → · Contrast checker → · Palette generator →

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