#261B7A#261B7A

#261B7A is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.2% C 0.151 H 278.2°. Best body text is #FFFFFF at 13.81:1 contrast (WCAG AA passes).

Color values

HEX#261B7A
RGBrgb(38, 27, 122)
HSLhsl(247, 64%, 29%)
HSVhsv(247, 78%, 48%)
CMYKcmyk(68.9%, 77.9%, 0%, 52.2%)
CIE-LABlab(18.37, 35.42, -51.84)
CIE-LCHlch(18.37, 62.79, 304.35°)
OKLaboklab(31.17% 0.0216 -0.1497)
OKLCHoklch(31.17% 0.151 278.2)
XYZxyz(4.7030, 2.6007, 18.6627)
Luminance0.0260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261B7A #6F7A1B
analogous
#1B407A #261B7A #561B7A
triadic
#261B7A #7A261B #1B7A26
tetradic
#261B7A #7A1B40 #6F7A1B #1B7A56
square
#261B7A #7A1B40 #6F7A1B #1B7A56
split-complementary
#261B7A #7A561B #407A1B
monochromatic
#080619 #161048 #261B7A #3626AC #4D3CD4

Accessibility & contrast

On white

13.81
#261B7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#261B7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261B7A
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261B7A#FFFFFF#000000##FFFFFF
##261B7A1.0013.811.5213.81
#FFFFFF13.811.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317D
Deuteranopia (green-blind)
#002978
Tritanopia (blue-blind)
#003649
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #261b7a;
/* rgb */ color: rgb(38, 27, 122);
/* oklch */ color: oklch(31.2% 0.151 278.2);
Tailwind
colors: {
  custom: {
    50: '#6d59a1',
    500: '#261b7a',
    950: '#000000',
  },
}
SCSS
$custom: #261b7a;
$custom-light: #6d59a1;
$custom-dark: #000000;
JSON
{
  "hex": "#261b7a",
  "rgb": {
    "r": 38,
    "g": 27,
    "b": 122
  },
  "hsl": {
    "h": 246.947,
    "s": 63.758,
    "l": 29.216
  },
  "oklch": {
    "l": 0.31174,
    "c": 0.15127,
    "h": 278.2
  },
  "luminance": 0.02601
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #261B7A

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

Preview Lab → · Contrast checker → · Palette generator →

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