#26187F#26187F

#26187F is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.3% C 0.161 H 277.9°. Best body text is #FFFFFF at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#26187F
RGBrgb(38, 24, 127)
HSLhsl(248, 68%, 30%)
HSVhsv(248, 81%, 50%)
CMYKcmyk(70.1%, 81.1%, 0%, 50.2%)
CIE-LABlab(18.35, 38.72, -55.05)
CIE-LCHlch(18.35, 67.31, 305.12°)
OKLaboklab(31.33% 0.022 -0.159)
OKLCHoklch(31.33% 0.161 277.9)
XYZxyz(4.9555, 2.5972, 20.3147)
Luminance0.0260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26187F #717F18
analogous
#183E7F #26187F #59187F
triadic
#26187F #7F2618 #187F26
tetradic
#26187F #7F183E #717F18 #187F59
square
#26187F #7F183E #717F18 #187F59
split-complementary
#26187F #7F5918 #3E7F18
monochromatic
#08051A #170E4C #26187F #3522B2 #4E38D9

Accessibility & contrast

On white

13.82
#26187F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#26187F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26187F
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26187F#FFFFFF#000000##FFFFFF
##26187F1.0013.821.5213.82
#FFFFFF13.821.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #26187f;
/* rgb */ color: rgb(38, 24, 127);
/* oklch */ color: oklch(31.3% 0.161 277.9);
Tailwind
colors: {
  custom: {
    50: '#6f58a5',
    500: '#26187f',
    950: '#000000',
  },
}
SCSS
$custom: #26187f;
$custom-light: #6f58a5;
$custom-dark: #000000;
JSON
{
  "hex": "#26187f",
  "rgb": {
    "r": 38,
    "g": 24,
    "b": 127
  },
  "hsl": {
    "h": 248.155,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.3133,
    "c": 0.16056,
    "h": 277.9
  },
  "luminance": 0.02598
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #26187F

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

Preview Lab → · Contrast checker → · Palette generator →

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