#261B8E#261B8E

#261B8E is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.4% C 0.176 H 275.3°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#261B8E
RGBrgb(38, 27, 142)
HSLhsl(246, 68%, 33%)
HSVhsv(246, 81%, 56%)
CMYKcmyk(73.2%, 81%, 0%, 44.3%)
CIE-LABlab(20.63, 42.00, -60.73)
CIE-LCHlch(20.63, 73.84, 304.67°)
OKLaboklab(33.43% 0.0164 -0.1756)
OKLCHoklch(33.43% 0.176 275.3)
XYZxyz(6.0721, 3.1483, 25.8736)
Luminance0.0315 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261B8E #838E1B
analogous
#1B498E #261B8E #5F1B8E
triadic
#261B8E #8E261B #1B8E26
tetradic
#261B8E #8E1B49 #838E1B #1B8E5F
square
#261B8E #8E1B49 #838E1B #1B8E5F
split-complementary
#261B8E #8E5F1B #498E1B
monochromatic
#0A0727 #18115B #261B8E #3425C1 #5647DC

Accessibility & contrast

On white

12.89
#261B8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#261B8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261B8E
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261B8E#FFFFFF#000000##FFFFFF
##261B8E1.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003791
Deuteranopia (green-blind)
#002C8C
Tritanopia (blue-blind)
#003E55
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #261b8e;
/* rgb */ color: rgb(38, 27, 142);
/* oklch */ color: oklch(33.4% 0.176 275.3);
Tailwind
colors: {
  custom: {
    50: '#725bb0',
    500: '#261b8e',
    950: '#000000',
  },
}
SCSS
$custom: #261b8e;
$custom-light: #725bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#261b8e",
  "rgb": {
    "r": 38,
    "g": 27,
    "b": 142
  },
  "hsl": {
    "h": 245.739,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.33427,
    "c": 0.17634,
    "h": 275.3
  },
  "luminance": 0.03149
}

Semantic roles & 50–950 ramp

primary
#261B8E
secondary
#B2BE47
accent
#EB3DDA
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #261B8E

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

Preview Lab → · Contrast checker → · Palette generator →

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