#261D58#261D58

#261D58 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 28.1% C 0.102 H 284.7°. Best body text is #FFFFFF at 15.01:1 contrast (WCAG AA passes).

Color values

HEX#261D58
RGBrgb(38, 29, 88)
HSLhsl(249, 50%, 23%)
HSVhsv(249, 67%, 35%)
CMYKcmyk(56.8%, 67%, 0%, 65.5%)
CIE-LABlab(15.46, 22.40, -34.33)
CIE-LCHlch(15.46, 40.99, 303.12°)
OKLaboklab(28.06% 0.0258 -0.0984)
OKLCHoklch(28.06% 0.102 284.7)
XYZxyz(2.9996, 1.9952, 9.4577)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261D58 #4F581D
analogous
#1D3158 #261D58 #431D58
triadic
#261D58 #58261D #1D5826
tetradic
#261D58 #581D31 #4F581D #1D5843
square
#261D58 #581D31 #4F581D #1D5843
split-complementary
#261D58 #58431D #31581D
monochromatic
#0A0817 #120E2A #261D58 #3A2C86 #4E3BB4

Accessibility & contrast

On white

15.01
#261D58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#261D58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261D58
15.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261D58#FFFFFF#000000##FFFFFF
##261D581.0015.011.4015.01
#FFFFFF15.011.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285A
Deuteranopia (green-blind)
#002557
Tritanopia (blue-blind)
#122B37
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #261d58;
/* rgb */ color: rgb(38, 29, 88);
/* oklch */ color: oklch(28.1% 0.102 284.7);
Tailwind
colors: {
  custom: {
    50: '#665988',
    500: '#261d58',
    950: '#000000',
  },
}
SCSS
$custom: #261d58;
$custom-light: #665988;
$custom-dark: #000000;
JSON
{
  "hex": "#261d58",
  "rgb": {
    "r": 38,
    "g": 29,
    "b": 88
  },
  "hsl": {
    "h": 249.153,
    "s": 50.427,
    "l": 22.941
  },
  "oklch": {
    "l": 0.28063,
    "c": 0.10177,
    "h": 284.7
  },
  "luminance": 0.01995
}

Semantic roles & 50–950 ramp

primary
#261D58
secondary
#828D44
accent
#DA4EC5
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030B
muted
#7A787C

Preview Lab

Preview with #261D58

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

Preview Lab → · Contrast checker → · Palette generator →

#261D58 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva