#261B8F#261B8F

#261B8F is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.5% C 0.178 H 275.2°. Best body text is #FFFFFF at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#261B8F
RGBrgb(38, 27, 143)
HSLhsl(246, 68%, 33%)
HSVhsv(246, 81%, 56%)
CMYKcmyk(73.4%, 81.1%, 0%, 43.9%)
CIE-LABlab(20.75, 42.32, -61.16)
CIE-LCHlch(20.75, 74.37, 304.68°)
OKLaboklab(33.54% 0.0161 -0.1768)
OKLCHoklch(33.54% 0.178 275.2)
XYZxyz(6.1476, 3.1785, 26.2708)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261B8F #848F1B
analogous
#1B4A8F #261B8F #601B8F
triadic
#261B8F #8F261B #1B8F26
tetradic
#261B8F #8F1B4A #848F1B #1B8F60
square
#261B8F #8F1B4A #848F1B #1B8F60
split-complementary
#261B8F #8F601B #4A8F1B
monochromatic
#0B0828 #18115C #261B8F #3425C2 #5648DC

Accessibility & contrast

On white

12.84
#261B8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#261B8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261B8F
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261B8F#FFFFFF#000000##FFFFFF
##261B8F1.0012.841.6412.84
#FFFFFF12.841.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003792
Deuteranopia (green-blind)
#002D8D
Tritanopia (blue-blind)
#003F55
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #261b8f;
/* rgb */ color: rgb(38, 27, 143);
/* oklch */ color: oklch(33.5% 0.178 275.2);
Tailwind
colors: {
  custom: {
    50: '#725bb1',
    500: '#261b8f',
    950: '#000000',
  },
}
SCSS
$custom: #261b8f;
$custom-light: #725bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#261b8f",
  "rgb": {
    "r": 38,
    "g": 27,
    "b": 143
  },
  "hsl": {
    "h": 245.69,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.33542,
    "c": 0.17756,
    "h": 275.2
  },
  "luminance": 0.03179
}

Semantic roles & 50–950 ramp

primary
#261B8F
secondary
#B3BE48
accent
#EB3DDB
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #261B8F

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

Preview Lab → · Contrast checker → · Palette generator →

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