#26248F#26248F

#26248F is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.8% C 0.169 H 274.0°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#26248F
RGBrgb(38, 36, 143)
HSLhsl(241, 60%, 35%)
HSVhsv(241, 75%, 56%)
CMYKcmyk(73.4%, 74.8%, 0%, 43.9%)
CIE-LABlab(22.50, 37.32, -58.25)
CIE-LCHlch(22.50, 69.18, 302.64°)
OKLaboklab(34.78% 0.0118 -0.1685)
OKLCHoklch(34.78% 0.169 274)
XYZxyz(6.3865, 3.6564, 26.3504)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26248F #8D8F24
analogous
#24588F #26248F #5B248F
triadic
#26248F #8F2624 #248F26
tetradic
#26248F #8F2458 #8D8F24 #248F5B
square
#26248F #8F2458 #8D8F24 #248F5B
split-complementary
#26248F #8F5B24 #588F24
monochromatic
#0C0B2D #19185E #26248F #3330C0 #5B58D5

Accessibility & contrast

On white

12.13
#26248F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #26248F
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26248F#FFFFFF#000000##FFFFFF
##26248F1.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B92
Deuteranopia (green-blind)
#00318D
Tritanopia (blue-blind)
#004357
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #26248f;
/* rgb */ color: rgb(38, 36, 143);
/* oklch */ color: oklch(34.8% 0.169 274.0);
Tailwind
colors: {
  custom: {
    50: '#7260b1',
    500: '#26248f',
    950: '#000000',
  },
}
SCSS
$custom: #26248f;
$custom-light: #7260b1;
$custom-dark: #000000;
JSON
{
  "hex": "#26248f",
  "rgb": {
    "r": 38,
    "g": 36,
    "b": 143
  },
  "hsl": {
    "h": 241.121,
    "s": 59.777,
    "l": 35.098
  },
  "oklch": {
    "l": 0.34779,
    "c": 0.1689,
    "h": 274
  },
  "luminance": 0.03657
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #26248F

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

Preview Lab → · Contrast checker → · Palette generator →

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