#26248D#26248D

#26248D is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.6% C 0.166 H 274.2°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#26248D
RGBrgb(38, 36, 141)
HSLhsl(241, 59%, 35%)
HSVhsv(241, 74%, 55%)
CMYKcmyk(73%, 74.5%, 0%, 44.7%)
CIE-LABlab(22.29, 36.63, -57.36)
CIE-LCHlch(22.29, 68.06, 302.56°)
OKLaboklab(34.56% 0.0121 -0.1659)
OKLCHoklch(34.56% 0.166 274.2)
XYZxyz(6.2363, 3.5963, 25.5596)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26248D #8B8D24
analogous
#24578D #26248D #5B248D
triadic
#26248D #8D2624 #248D26
tetradic
#26248D #8D2457 #8B8D24 #248D5B
square
#26248D #8D2457 #8B8D24 #248D5B
split-complementary
#26248D #8D5B24 #578D24
monochromatic
#0C0B2B #19185C #26248D #3330BE #5A57D4

Accessibility & contrast

On white

12.21
#26248D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#26248D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26248D
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26248D#FFFFFF#000000##FFFFFF
##26248D1.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #26248d;
/* rgb */ color: rgb(38, 36, 141);
/* oklch */ color: oklch(34.6% 0.166 274.2);
Tailwind
colors: {
  custom: {
    50: '#7160af',
    500: '#26248d',
    950: '#000000',
  },
}
SCSS
$custom: #26248d;
$custom-light: #7160af;
$custom-dark: #000000;
JSON
{
  "hex": "#26248d",
  "rgb": {
    "r": 38,
    "g": 36,
    "b": 141
  },
  "hsl": {
    "h": 241.143,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.34564,
    "c": 0.16632,
    "h": 274.2
  },
  "luminance": 0.03597
}

Semantic roles & 50–950 ramp

primary
#26248D
secondary
#B7B854
accent
#E345E0
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090511
muted
#7B7980

Preview Lab

Preview with #26248D

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

Preview Lab → · Contrast checker → · Palette generator →

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