#26248C#26248C

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

Color values

HEX#26248C
RGBrgb(38, 36, 140)
HSLhsl(241, 59%, 35%)
HSVhsv(241, 74%, 55%)
CMYKcmyk(72.9%, 74.3%, 0%, 45.1%)
CIE-LABlab(22.18, 36.28, -56.91)
CIE-LCHlch(22.18, 67.49, 302.52°)
OKLaboklab(34.46% 0.0123 -0.1646)
OKLCHoklch(34.46% 0.165 274.3)
XYZxyz(6.1623, 3.5667, 25.1695)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26248C #8A8C24
analogous
#24568C #26248C #5A248C
triadic
#26248C #8C2624 #248C26
tetradic
#26248C #8C2456 #8A8C24 #248C5A
square
#26248C #8C2456 #8A8C24 #248C5A
split-complementary
#26248C #8C5A24 #568C24
monochromatic
#0C0B2B #19175B #26248C #3331BD #5957D4

Accessibility & contrast

On white

12.26
#26248C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#26248C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26248C
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26248C#FFFFFF#000000##FFFFFF
##26248C1.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)
#003A8F
Deuteranopia (green-blind)
#00308A
Tritanopia (blue-blind)
#004156
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #26248c;
/* rgb */ color: rgb(38, 36, 140);
/* oklch */ color: oklch(34.5% 0.165 274.3);
Tailwind
colors: {
  custom: {
    50: '#7160af',
    500: '#26248c',
    950: '#000000',
  },
}
SCSS
$custom: #26248c;
$custom-light: #7160af;
$custom-dark: #000000;
JSON
{
  "hex": "#26248c",
  "rgb": {
    "r": 38,
    "g": 36,
    "b": 140
  },
  "hsl": {
    "h": 241.154,
    "s": 59.091,
    "l": 34.51
  },
  "oklch": {
    "l": 0.34458,
    "c": 0.16503,
    "h": 274.3
  },
  "luminance": 0.03567
}

Semantic roles & 50–950 ramp

primary
#26248C
secondary
#B6B854
accent
#E246DF
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090510
muted
#7B797F

Preview Lab

Preview with #26248C

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

Preview Lab → · Contrast checker → · Palette generator →

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