#26187D#26187D

#26187D is a dark, vivid blue. Relative luminance 0.025; OKLCH L 31.1% C 0.158 H 278.2°. Best body text is #FFFFFF at 13.91:1 contrast (WCAG AA passes).

Color values

HEX#26187D
RGBrgb(38, 24, 125)
HSLhsl(248, 68%, 29%)
HSVhsv(248, 81%, 49%)
CMYKcmyk(69.6%, 80.8%, 0%, 51%)
CIE-LABlab(18.12, 38.07, -54.16)
CIE-LCHlch(18.12, 66.20, 305.10°)
OKLaboklab(31.1% 0.0225 -0.1564)
OKLCHoklch(31.1% 0.158 278.2)
XYZxyz(4.8264, 2.5456, 19.6351)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26187D #6F7D18
analogous
#183D7D #26187D #59187D
triadic
#26187D #7D2618 #187D26
tetradic
#26187D #7D183D #6F7D18 #187D59
square
#26187D #7D183D #6F7D18 #187D59
split-complementary
#26187D #7D5918 #3D7D18
monochromatic
#08051A #160E4A #26187D #3622B0 #4D37D9

Accessibility & contrast

On white

13.91
#26187D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #26187D
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26187D#FFFFFF#000000##FFFFFF
##26187D1.0013.911.5113.91
#FFFFFF13.911.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003080
Deuteranopia (green-blind)
#00287B
Tritanopia (blue-blind)
#00364A
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #26187d;
/* rgb */ color: rgb(38, 24, 125);
/* oklch */ color: oklch(31.1% 0.158 278.2);
Tailwind
colors: {
  custom: {
    50: '#6e58a4',
    500: '#26187d',
    950: '#000000',
  },
}
SCSS
$custom: #26187d;
$custom-light: #6e58a4;
$custom-dark: #000000;
JSON
{
  "hex": "#26187d",
  "rgb": {
    "r": 38,
    "g": 24,
    "b": 125
  },
  "hsl": {
    "h": 248.317,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.31102,
    "c": 0.15806,
    "h": 278.2
  },
  "luminance": 0.02546
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #26187D

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

Preview Lab → · Contrast checker → · Palette generator →

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