#26487F#26487F

#26487F is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.6% C 0.101 H 259.6°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#26487F
RGBrgb(38, 72, 127)
HSLhsl(217, 54%, 32%)
HSVhsv(217, 70%, 50%)
CMYKcmyk(70.1%, 43.3%, 0%, 50.2%)
CIE-LABlab(30.83, 7.20, -34.78)
CIE-LCHlch(30.83, 35.52, 281.70°)
OKLaboklab(40.58% -0.0183 -0.0992)
OKLCHoklch(40.58% 0.101 259.6)
XYZxyz(6.9461, 6.5784, 20.9783)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26487F #7F5D26
analogous
#26747F #26487F #31267F
triadic
#26487F #7F2648 #487F26
tetradic
#26487F #7F2674 #7F5D26 #267F31
square
#26487F #7F2674 #7F5D26 #267F31
split-complementary
#26487F #7F3126 #747F26
monochromatic
#0A1321 #182D50 #26487F #3463AE #5482CC

Accessibility & contrast

On white

9.07
#26487F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#26487F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26487F
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26487F#FFFFFF#000000##FFFFFF
##26487F1.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4D81
Deuteranopia (green-blind)
#20457E
Tritanopia (blue-blind)
#00555D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #26487f;
/* rgb */ color: rgb(38, 72, 127);
/* oklch */ color: oklch(40.6% 0.101 259.6);
Tailwind
colors: {
  custom: {
    50: '#6b7aa4',
    500: '#26487f',
    950: '#000000',
  },
}
SCSS
$custom: #26487f;
$custom-light: #6b7aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#26487f",
  "rgb": {
    "r": 38,
    "g": 72,
    "b": 127
  },
  "hsl": {
    "h": 217.079,
    "s": 53.939,
    "l": 32.353
  },
  "oklch": {
    "l": 0.40584,
    "c": 0.1009,
    "h": 259.6
  },
  "luminance": 0.06579
}

Semantic roles & 50–950 ramp

primary
#26487F
secondary
#B08C51
accent
#A54ADD
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #26487F

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

Preview Lab → · Contrast checker → · Palette generator →

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