#261B72#261B72

#261B72 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.3% C 0.141 H 279.6°. Best body text is #FFFFFF at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#261B72
RGBrgb(38, 27, 114)
HSLhsl(248, 62%, 28%)
HSVhsv(248, 76%, 45%)
CMYKcmyk(66.7%, 76.3%, 0%, 55.3%)
CIE-LABlab(17.51, 32.72, -48.11)
CIE-LCHlch(17.51, 58.19, 304.22°)
OKLaboklab(30.31% 0.0235 -0.1388)
OKLCHoklch(30.31% 0.141 279.6)
XYZxyz(4.2276, 2.4105, 16.1588)
Luminance0.0241 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261B72 #67721B
analogous
#1B3C72 #261B72 #511B72
triadic
#261B72 #72261B #1B7226
tetradic
#261B72 #721B3C #67721B #1B7251
square
#261B72 #721B3C #67721B #1B7251
split-complementary
#261B72 #72511B #3C721B
monochromatic
#080619 #160F41 #261B72 #3627A3 #4B38D0

Accessibility & contrast

On white

14.17
#261B72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #261B72
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261B72#FFFFFF#000000##FFFFFF
##261B721.0014.171.4814.17
#FFFFFF14.171.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E75
Deuteranopia (green-blind)
#002870
Tritanopia (blue-blind)
#003345
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #261b72;
/* rgb */ color: rgb(38, 27, 114);
/* oklch */ color: oklch(30.3% 0.141 279.6);
Tailwind
colors: {
  custom: {
    50: '#6c599b',
    500: '#261b72',
    950: '#000000',
  },
}
SCSS
$custom: #261b72;
$custom-light: #6c599b;
$custom-dark: #000000;
JSON
{
  "hex": "#261b72",
  "rgb": {
    "r": 38,
    "g": 27,
    "b": 114
  },
  "hsl": {
    "h": 247.586,
    "s": 61.702,
    "l": 27.647
  },
  "oklch": {
    "l": 0.30308,
    "c": 0.14082,
    "h": 279.6
  },
  "luminance": 0.02411
}

Semantic roles & 50–950 ramp

primary
#261B72
secondary
#9AA742
accent
#E543D0
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030E
muted
#7A787E

Preview Lab

Preview with #261B72

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

Preview Lab → · Contrast checker → · Palette generator →

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