#26247E#26247E

#26247E is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.0% C 0.146 H 275.7°. Best body text is #FFFFFF at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#26247E
RGBrgb(38, 36, 126)
HSLhsl(241, 56%, 32%)
HSVhsv(241, 71%, 49%)
CMYKcmyk(69.8%, 71.4%, 0%, 50.6%)
CIE-LABlab(20.75, 31.35, -50.47)
CIE-LCHlch(20.75, 59.41, 301.84°)
OKLaboklab(33% 0.0147 -0.1458)
OKLCHoklch(33% 0.147 275.7)
XYZxyz(5.1949, 3.1797, 20.0746)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26247E #7C7E24
analogous
#244F7E #26247E #53247E
triadic
#26247E #7E2624 #247E26
tetradic
#26247E #7E244F #7C7E24 #247E53
square
#26247E #7E244F #7C7E24 #247E53
split-complementary
#26247E #7E5324 #4F7E24
monochromatic
#09091F #18164E #26247E #3432AE #5250CD

Accessibility & contrast

On white

12.84
#26247E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#26247E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26247E
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26247E#FFFFFF#000000##FFFFFF
##26247E1.0012.841.6412.84
#FFFFFF12.841.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003681
Deuteranopia (green-blind)
#002E7C
Tritanopia (blue-blind)
#003C4E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #26247e;
/* rgb */ color: rgb(38, 36, 126);
/* oklch */ color: oklch(33.0% 0.146 275.7);
Tailwind
colors: {
  custom: {
    50: '#6d5fa4',
    500: '#26247e',
    950: '#000000',
  },
}
SCSS
$custom: #26247e;
$custom-light: #6d5fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#26247e",
  "rgb": {
    "r": 38,
    "g": 36,
    "b": 126
  },
  "hsl": {
    "h": 241.333,
    "s": 55.556,
    "l": 31.765
  },
  "oklch": {
    "l": 0.32997,
    "c": 0.1465,
    "h": 275.7
  },
  "luminance": 0.0318
}

Semantic roles & 50–950 ramp

primary
#26247E
secondary
#AEB04E
accent
#DF49DC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #26247E

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

Preview Lab → · Contrast checker → · Palette generator →

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