#261D72#261D72

#261D72 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.6% C 0.139 H 279.1°. Best body text is #FFFFFF at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#261D72
RGBrgb(38, 29, 114)
HSLhsl(246, 59%, 28%)
HSVhsv(246, 75%, 45%)
CMYKcmyk(66.7%, 74.6%, 0%, 55.3%)
CIE-LABlab(17.94, 31.51, -47.40)
CIE-LCHlch(17.94, 56.92, 303.61°)
OKLaboklab(30.62% 0.022 -0.1368)
OKLCHoklch(30.62% 0.139 279.1)
XYZxyz(4.2750, 2.5054, 16.1746)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261D72 #69721D
analogous
#1D3E72 #261D72 #501D72
triadic
#261D72 #72261D #1D7226
tetradic
#261D72 #721D3E #69721D #1D7250
square
#261D72 #721D3E #69721D #1D7250
split-complementary
#261D72 #72501D #3E721D
monochromatic
#080618 #161141 #261D72 #3629A3 #4B3CCD

Accessibility & contrast

On white

13.99
#261D72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#261D72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261D72
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261D72#FFFFFF#000000##FFFFFF
##261D721.0013.991.5013.99
#FFFFFF13.991.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F75
Deuteranopia (green-blind)
#002870
Tritanopia (blue-blind)
#003445
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #261d72;
/* rgb */ color: rgb(38, 29, 114);
/* oklch */ color: oklch(30.6% 0.139 279.1);
Tailwind
colors: {
  custom: {
    50: '#6b5a9b',
    500: '#261d72',
    950: '#000000',
  },
}
SCSS
$custom: #261d72;
$custom-light: #6b5a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#261d72",
  "rgb": {
    "r": 38,
    "g": 29,
    "b": 114
  },
  "hsl": {
    "h": 246.353,
    "s": 59.441,
    "l": 28.039
  },
  "oklch": {
    "l": 0.30617,
    "c": 0.13853,
    "h": 279.1
  },
  "luminance": 0.02506
}

Semantic roles & 50–950 ramp

primary
#261D72
secondary
#9CA645
accent
#E345D2
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #261D72

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

Preview Lab → · Contrast checker → · Palette generator →

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