#261D57#261D57

#261D57 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 28.0% C 0.100 H 285.0°. Best body text is #FFFFFF at 15.05:1 contrast (WCAG AA passes).

Color values

HEX#261D57
RGBrgb(38, 29, 87)
HSLhsl(249, 50%, 23%)
HSVhsv(249, 67%, 34%)
CMYKcmyk(56.3%, 66.7%, 0%, 65.9%)
CIE-LABlab(15.38, 22.04, -33.80)
CIE-LCHlch(15.38, 40.35, 303.11°)
OKLaboklab(27.97% 0.0259 -0.0969)
OKLCHoklch(27.97% 0.1 285)
XYZxyz(2.9585, 1.9788, 9.2410)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261D57 #4E571D
analogous
#1D3157 #261D57 #431D57
triadic
#261D57 #57261D #1D5726
tetradic
#261D57 #571D31 #4E571D #1D5743
square
#261D57 #571D31 #4E571D #1D5743
split-complementary
#261D57 #57431D #31571D
monochromatic
#0A0817 #120E29 #261D57 #3A2C85 #4E3CB3

Accessibility & contrast

On white

15.05
#261D57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #261D57
15.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261D57#FFFFFF#000000##FFFFFF
##261D571.0015.051.4015.05
#FFFFFF15.051.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002859
Deuteranopia (green-blind)
#002556
Tritanopia (blue-blind)
#132B37
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #261d57;
/* rgb */ color: rgb(38, 29, 87);
/* oklch */ color: oklch(28.0% 0.100 285.0);
Tailwind
colors: {
  custom: {
    50: '#665987',
    500: '#261d57',
    950: '#000000',
  },
}
SCSS
$custom: #261d57;
$custom-light: #665987;
$custom-dark: #000000;
JSON
{
  "hex": "#261d57",
  "rgb": {
    "r": 38,
    "g": 29,
    "b": 87
  },
  "hsl": {
    "h": 249.31,
    "s": 50,
    "l": 22.745
  },
  "oklch": {
    "l": 0.27972,
    "c": 0.10028,
    "h": 285
  },
  "luminance": 0.01979
}

Semantic roles & 50–950 ramp

primary
#261D57
secondary
#818C44
accent
#DA4EC4
background
#F6F5F8
surface
#EBE9EF
border
#C6C5CA
text
#06030B
muted
#7A787C

Preview Lab

Preview with #261D57

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

Preview Lab → · Contrast checker → · Palette generator →

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