#261D7E#261D7E

#261D7E is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.9% C 0.154 H 277.2°. Best body text is #FFFFFF at 13.47:1 contrast (WCAG AA passes).

Color values

HEX#261D7E
RGBrgb(38, 29, 126)
HSLhsl(246, 63%, 30%)
HSVhsv(246, 77%, 49%)
CMYKcmyk(69.8%, 77%, 0%, 50.6%)
CIE-LABlab(19.21, 35.62, -53.00)
CIE-LCHlch(19.21, 63.86, 303.90°)
OKLaboklab(31.9% 0.0194 -0.1531)
OKLCHoklch(31.9% 0.154 277.2)
XYZxyz(5.0034, 2.7967, 20.0108)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261D7E #757E1D
analogous
#1D447E #261D7E #561D7E
triadic
#261D7E #7E261D #1D7E26
tetradic
#261D7E #7E1D44 #757E1D #1D7E56
square
#261D7E #7E1D44 #757E1D #1D7E56
split-complementary
#261D7E #7E561D #447E1D
monochromatic
#08061B #17124C #261D7E #3528B0 #4F42D3

Accessibility & contrast

On white

13.47
#261D7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#261D7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261D7E
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261D7E#FFFFFF#000000##FFFFFF
##261D7E1.0013.471.5613.47
#FFFFFF13.471.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003381
Deuteranopia (green-blind)
#002A7C
Tritanopia (blue-blind)
#00394C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #261d7e;
/* rgb */ color: rgb(38, 29, 126);
/* oklch */ color: oklch(31.9% 0.154 277.2);
Tailwind
colors: {
  custom: {
    50: '#6e5ba4',
    500: '#261d7e',
    950: '#000000',
  },
}
SCSS
$custom: #261d7e;
$custom-light: #6e5ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#261d7e",
  "rgb": {
    "r": 38,
    "g": 29,
    "b": 126
  },
  "hsl": {
    "h": 245.567,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.31899,
    "c": 0.15435,
    "h": 277.2
  },
  "luminance": 0.02797
}

Semantic roles & 50–950 ramp

primary
#261D7E
secondary
#A7B145
accent
#E642D6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #261D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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