#26187E#26187E

#26187E is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.2% C 0.159 H 278.0°. Best body text is #FFFFFF at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#26187E
RGBrgb(38, 24, 126)
HSLhsl(248, 68%, 29%)
HSVhsv(248, 81%, 49%)
CMYKcmyk(69.8%, 81%, 0%, 50.6%)
CIE-LABlab(18.24, 38.39, -54.61)
CIE-LCHlch(18.24, 66.75, 305.11°)
OKLaboklab(31.22% 0.0222 -0.1578)
OKLCHoklch(31.22% 0.159 278)
XYZxyz(4.8906, 2.5713, 19.9732)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26187E #707E18
analogous
#183D7E #26187E #59187E
triadic
#26187E #7E2618 #187E26
tetradic
#26187E #7E183D #707E18 #187E59
square
#26187E #7E183D #707E18 #187E59
split-complementary
#26187E #7E5918 #3D7E18
monochromatic
#08051A #160E4B #26187E #3622B1 #4E37D9

Accessibility & contrast

On white

13.87
#26187E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#26187E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26187E
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26187E#FFFFFF#000000##FFFFFF
##26187E1.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003081
Deuteranopia (green-blind)
#00287C
Tritanopia (blue-blind)
#00374B
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #26187e;
/* rgb */ color: rgb(38, 24, 126);
/* oklch */ color: oklch(31.2% 0.159 278.0);
Tailwind
colors: {
  custom: {
    50: '#6f58a5',
    500: '#26187e',
    950: '#000000',
  },
}
SCSS
$custom: #26187e;
$custom-light: #6f58a5;
$custom-dark: #000000;
JSON
{
  "hex": "#26187e",
  "rgb": {
    "r": 38,
    "g": 24,
    "b": 126
  },
  "hsl": {
    "h": 248.235,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.31216,
    "c": 0.15932,
    "h": 278
  },
  "luminance": 0.02572
}

Semantic roles & 50–950 ramp

primary
#26187E
secondary
#A3B23F
accent
#EB3DD3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #26187E

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

Preview Lab → · Contrast checker → · Palette generator →

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