#261B7B#261B7B

#261B7B is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.3% C 0.153 H 278.0°. Best body text is #FFFFFF at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#261B7B
RGBrgb(38, 27, 123)
HSLhsl(247, 64%, 29%)
HSVhsv(247, 78%, 48%)
CMYKcmyk(69.1%, 78%, 0%, 51.8%)
CIE-LABlab(18.48, 35.76, -52.30)
CIE-LCHlch(18.48, 63.36, 304.36°)
OKLaboklab(31.28% 0.0213 -0.1511)
OKLCHoklch(31.28% 0.153 278)
XYZxyz(4.7653, 2.6256, 18.9907)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261B7B #707B1B
analogous
#1B407B #261B7B #561B7B
triadic
#261B7B #7B261B #1B7B26
tetradic
#261B7B #7B1B40 #707B1B #1B7B56
square
#261B7B #7B1B40 #707B1B #1B7B56
split-complementary
#261B7B #7B561B #407B1B
monochromatic
#080619 #161049 #261B7B #3626AD #4E3CD4

Accessibility & contrast

On white

13.77
#261B7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#261B7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261B7B
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261B7B#FFFFFF#000000##FFFFFF
##261B7B1.0013.771.5313.77
#FFFFFF13.771.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317E
Deuteranopia (green-blind)
#002979
Tritanopia (blue-blind)
#00374A
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #261b7b;
/* rgb */ color: rgb(38, 27, 123);
/* oklch */ color: oklch(31.3% 0.153 278.0);
Tailwind
colors: {
  custom: {
    50: '#6e59a2',
    500: '#261b7b',
    950: '#000000',
  },
}
SCSS
$custom: #261b7b;
$custom-light: #6e59a2;
$custom-dark: #000000;
JSON
{
  "hex": "#261b7b",
  "rgb": {
    "r": 38,
    "g": 27,
    "b": 123
  },
  "hsl": {
    "h": 246.875,
    "s": 64,
    "l": 29.412
  },
  "oklch": {
    "l": 0.31284,
    "c": 0.15257,
    "h": 278
  },
  "luminance": 0.02626
}

Semantic roles & 50–950 ramp

primary
#261B7B
secondary
#A3AF43
accent
#E741D4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #261B7B

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

Preview Lab → · Contrast checker → · Palette generator →

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