#261D7C#261D7C

#261D7C is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.7% C 0.152 H 277.5°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#261D7C
RGBrgb(38, 29, 124)
HSLhsl(246, 62%, 30%)
HSVhsv(246, 77%, 49%)
CMYKcmyk(69.4%, 76.6%, 0%, 51.4%)
CIE-LABlab(18.99, 34.94, -52.08)
CIE-LCHlch(18.99, 62.72, 303.86°)
OKLaboklab(31.68% 0.0198 -0.1505)
OKLCHoklch(31.68% 0.152 277.5)
XYZxyz(4.8756, 2.7456, 19.3379)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261D7C #737C1D
analogous
#1D447C #261D7C #551D7C
triadic
#261D7C #7C261D #1D7C26
tetradic
#261D7C #7C1D44 #737C1D #1D7C55
square
#261D7C #7C1D44 #737C1D #1D7C55
split-complementary
#261D7C #7C551D #447C1D
monochromatic
#080619 #17114A #261D7C #3529AE #4F41D3

Accessibility & contrast

On white

13.56
#261D7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #261D7C
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261D7C#FFFFFF#000000##FFFFFF
##261D7C1.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327F
Deuteranopia (green-blind)
#002A7A
Tritanopia (blue-blind)
#00384B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #261d7c;
/* rgb */ color: rgb(38, 29, 124);
/* oklch */ color: oklch(31.7% 0.152 277.5);
Tailwind
colors: {
  custom: {
    50: '#6e5ba3',
    500: '#261d7c',
    950: '#000000',
  },
}
SCSS
$custom: #261d7c;
$custom-light: #6e5ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#261d7c",
  "rgb": {
    "r": 38,
    "g": 29,
    "b": 124
  },
  "hsl": {
    "h": 245.684,
    "s": 62.092,
    "l": 30
  },
  "oklch": {
    "l": 0.31682,
    "c": 0.15176,
    "h": 277.5
  },
  "luminance": 0.02746
}

Semantic roles & 50–950 ramp

primary
#261D7C
secondary
#A6B045
accent
#E543D6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #261D7C

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

Preview Lab → · Contrast checker → · Palette generator →

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