#261D7D#261D7D

#261D7D is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.8% C 0.153 H 277.4°. Best body text is #FFFFFF at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#261D7D
RGBrgb(38, 29, 125)
HSLhsl(246, 62%, 30%)
HSVhsv(246, 77%, 49%)
CMYKcmyk(69.6%, 76.8%, 0%, 51%)
CIE-LABlab(19.10, 35.28, -52.54)
CIE-LCHlch(19.10, 63.29, 303.88°)
OKLaboklab(31.79% 0.0196 -0.1518)
OKLCHoklch(31.79% 0.153 277.4)
XYZxyz(4.9392, 2.7710, 19.6726)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261D7D #747D1D
analogous
#1D447D #261D7D #561D7D
triadic
#261D7D #7D261D #1D7D26
tetradic
#261D7D #7D1D44 #747D1D #1D7D56
square
#261D7D #7D1D44 #747D1D #1D7D56
split-complementary
#261D7D #7D561D #447D1D
monochromatic
#08061A #17114B #261D7D #3529AF #4F41D3

Accessibility & contrast

On white

13.51
#261D7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#261D7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261D7D
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261D7D#FFFFFF#000000##FFFFFF
##261D7D1.0013.511.5513.51
#FFFFFF13.511.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003280
Deuteranopia (green-blind)
#002A7B
Tritanopia (blue-blind)
#00384B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #261d7d;
/* rgb */ color: rgb(38, 29, 125);
/* oklch */ color: oklch(31.8% 0.153 277.4);
Tailwind
colors: {
  custom: {
    50: '#6e5ba4',
    500: '#261d7d',
    950: '#000000',
  },
}
SCSS
$custom: #261d7d;
$custom-light: #6e5ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#261d7d",
  "rgb": {
    "r": 38,
    "g": 29,
    "b": 125
  },
  "hsl": {
    "h": 245.625,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.3179,
    "c": 0.15306,
    "h": 277.4
  },
  "luminance": 0.02771
}

Semantic roles & 50–950 ramp

primary
#261D7D
secondary
#A6B145
accent
#E542D6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #261D7D

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

Preview Lab → · Contrast checker → · Palette generator →

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