#261B8C#261B8C

#261B8C is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.2% C 0.174 H 275.6°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#261B8C
RGBrgb(38, 27, 140)
HSLhsl(246, 68%, 33%)
HSVhsv(246, 81%, 55%)
CMYKcmyk(72.9%, 80.7%, 0%, 45.1%)
CIE-LABlab(20.40, 41.35, -59.86)
CIE-LCHlch(20.40, 72.76, 304.64°)
OKLaboklab(33.2% 0.0169 -0.1731)
OKLCHoklch(33.2% 0.174 275.6)
XYZxyz(5.9233, 3.0888, 25.0899)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261B8C #818C1B
analogous
#1B488C #261B8C #5F1B8C
triadic
#261B8C #8C261B #1B8C26
tetradic
#261B8C #8C1B48 #818C1B #1B8C5F
square
#261B8C #8C1B48 #818C1B #1B8C5F
split-complementary
#261B8C #8C5F1B #488C1B
monochromatic
#0A0725 #181159 #261B8C #3425BF #5546DB

Accessibility & contrast

On white

12.98
#261B8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#261B8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261B8C
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261B8C#FFFFFF#000000##FFFFFF
##261B8C1.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00368F
Deuteranopia (green-blind)
#002C8A
Tritanopia (blue-blind)
#003D53
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #261b8c;
/* rgb */ color: rgb(38, 27, 140);
/* oklch */ color: oklch(33.2% 0.174 275.6);
Tailwind
colors: {
  custom: {
    50: '#725aaf',
    500: '#261b8c',
    950: '#000000',
  },
}
SCSS
$custom: #261b8c;
$custom-light: #725aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#261b8c",
  "rgb": {
    "r": 38,
    "g": 27,
    "b": 140
  },
  "hsl": {
    "h": 245.841,
    "s": 67.665,
    "l": 32.745
  },
  "oklch": {
    "l": 0.33197,
    "c": 0.17391,
    "h": 275.6
  },
  "luminance": 0.03089
}

Semantic roles & 50–950 ramp

primary
#261B8C
secondary
#B1BD46
accent
#EB3DDA
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090411
muted
#7B7980

Preview Lab

Preview with #261B8C

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

Preview Lab → · Contrast checker → · Palette generator →

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