#261B98#261B98

#261B98 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.6% C 0.188 H 274.2°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#261B98
RGBrgb(38, 27, 152)
HSLhsl(245, 70%, 35%)
HSVhsv(245, 82%, 60%)
CMYKcmyk(75%, 82.2%, 0%, 40.4%)
CIE-LABlab(21.81, 45.18, -64.97)
CIE-LCHlch(21.81, 79.13, 304.82°)
OKLaboklab(34.59% 0.0137 -0.1879)
OKLCHoklch(34.59% 0.188 274.2)
XYZxyz(6.8569, 3.4622, 30.0066)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261B98 #8D981B
analogous
#1B4E98 #261B98 #641B98
triadic
#261B98 #98261B #1B9826
tetradic
#261B98 #981B4E #8D981B #1B9864
square
#261B98 #981B4E #8D981B #1B9864
split-complementary
#261B98 #98641B #4E981B
monochromatic
#0C0930 #191264 #261B98 #3324CC #5B4EE0

Accessibility & contrast

On white

12.41
#261B98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#261B98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261B98
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261B98#FFFFFF#000000##FFFFFF
##261B981.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A9B
Deuteranopia (green-blind)
#002E96
Tritanopia (blue-blind)
#00425A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #261b98;
/* rgb */ color: rgb(38, 27, 152);
/* oklch */ color: oklch(34.6% 0.188 274.2);
Tailwind
colors: {
  custom: {
    50: '#755bb8',
    500: '#261b98',
    950: '#000000',
  },
}
SCSS
$custom: #261b98;
$custom-light: #755bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#261b98",
  "rgb": {
    "r": 38,
    "g": 27,
    "b": 152
  },
  "hsl": {
    "h": 245.28,
    "s": 69.832,
    "l": 35.098
  },
  "oklch": {
    "l": 0.3459,
    "c": 0.18839,
    "h": 274.2
  },
  "luminance": 0.03463
}

Semantic roles & 50–950 ramp

primary
#261B98
secondary
#B8C24D
accent
#ED3BDD
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #261B98

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

Preview Lab → · Contrast checker → · Palette generator →

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