#261D6E#261D6E

#261D6E is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.2% C 0.133 H 279.8°. Best body text is #FFFFFF at 14.16:1 contrast (WCAG AA passes).

Color values

HEX#261D6E
RGBrgb(38, 29, 110)
HSLhsl(247, 58%, 27%)
HSVhsv(247, 74%, 43%)
CMYKcmyk(65.5%, 73.6%, 0%, 56.9%)
CIE-LABlab(17.54, 30.12, -45.48)
CIE-LCHlch(17.54, 54.55, 303.52°)
OKLaboklab(30.2% 0.0228 -0.1311)
OKLCHoklch(30.2% 0.133 279.8)
XYZxyz(4.0523, 2.4163, 15.0017)
Luminance0.0242 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261D6E #656E1D
analogous
#1D3C6E #261D6E #4F1D6E
triadic
#261D6E #6E261D #1D6E26
tetradic
#261D6E #6E1D3C #656E1D #1D6E4F
square
#261D6E #6E1D3C #656E1D #1D6E4F
split-complementary
#261D6E #6E4F1D #3C6E1D
monochromatic
#080618 #15103E #261D6E #372A9E #4A3ACB

Accessibility & contrast

On white

14.16
#261D6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#261D6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261D6E
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261D6E#FFFFFF#000000##FFFFFF
##261D6E1.0014.161.4814.16
#FFFFFF14.161.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E70
Deuteranopia (green-blind)
#00286C
Tritanopia (blue-blind)
#003343
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #261d6e;
/* rgb */ color: rgb(38, 29, 110);
/* oklch */ color: oklch(30.2% 0.133 279.8);
Tailwind
colors: {
  custom: {
    50: '#6a5a98',
    500: '#261d6e',
    950: '#000000',
  },
}
SCSS
$custom: #261d6e;
$custom-light: #6a5a98;
$custom-dark: #000000;
JSON
{
  "hex": "#261d6e",
  "rgb": {
    "r": 38,
    "g": 29,
    "b": 110
  },
  "hsl": {
    "h": 246.667,
    "s": 58.273,
    "l": 27.255
  },
  "oklch": {
    "l": 0.30202,
    "c": 0.13311,
    "h": 279.8
  },
  "luminance": 0.02417
}

Semantic roles & 50–950 ramp

primary
#261D6E
secondary
#98A244
accent
#E146D0
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #261D6E

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

Preview Lab → · Contrast checker → · Palette generator →

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