#261D7A#261D7A

#261D7A is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.5% C 0.149 H 277.8°. Best body text is #FFFFFF at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#261D7A
RGBrgb(38, 29, 122)
HSLhsl(246, 62%, 30%)
HSVhsv(246, 76%, 48%)
CMYKcmyk(68.9%, 76.2%, 0%, 52.2%)
CIE-LABlab(18.78, 34.26, -51.16)
CIE-LCHlch(18.78, 61.57, 303.81°)
OKLaboklab(31.47% 0.0203 -0.1478)
OKLCHoklch(31.47% 0.149 277.8)
XYZxyz(4.7504, 2.6955, 18.6785)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261D7A #717A1D
analogous
#1D437A #261D7A #541D7A
triadic
#261D7A #7A261D #1D7A26
tetradic
#261D7A #7A1D43 #717A1D #1D7A54
square
#261D7A #7A1D43 #717A1D #1D7A54
split-complementary
#261D7A #7A541D #437A1D
monochromatic
#080619 #171149 #261D7A #3529AB #4E40D2

Accessibility & contrast

On white

13.64
#261D7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#261D7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261D7A
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261D7A#FFFFFF#000000##FFFFFF
##261D7A1.0013.641.5413.64
#FFFFFF13.641.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317D
Deuteranopia (green-blind)
#002A78
Tritanopia (blue-blind)
#00374A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #261d7a;
/* rgb */ color: rgb(38, 29, 122);
/* oklch */ color: oklch(31.5% 0.149 277.8);
Tailwind
colors: {
  custom: {
    50: '#6d5ba1',
    500: '#261d7a',
    950: '#000000',
  },
}
SCSS
$custom: #261d7a;
$custom-light: #6d5ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#261d7a",
  "rgb": {
    "r": 38,
    "g": 29,
    "b": 122
  },
  "hsl": {
    "h": 245.806,
    "s": 61.589,
    "l": 29.608
  },
  "oklch": {
    "l": 0.31466,
    "c": 0.14914,
    "h": 277.8
  },
  "luminance": 0.02696
}

Semantic roles & 50–950 ramp

primary
#261D7A
secondary
#A4AE45
accent
#E543D5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #261D7A

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

Preview Lab → · Contrast checker → · Palette generator →

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