#261776#261776

#261776 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.2% C 0.150 H 279.6°. Best body text is #FFFFFF at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#261776
RGBrgb(38, 23, 118)
HSLhsl(249, 67%, 28%)
HSVhsv(249, 81%, 46%)
CMYKcmyk(67.8%, 80.5%, 0%, 53.7%)
CIE-LABlab(17.14, 36.33, -51.30)
CIE-LCHlch(17.14, 62.86, 305.31°)
OKLaboklab(30.18% 0.0251 -0.1481)
OKLCHoklch(30.18% 0.15 279.6)
XYZxyz(4.3747, 2.3325, 17.3557)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261776 #677617
analogous
#173776 #261776 #561776
triadic
#261776 #762617 #177626
tetradic
#261776 #761737 #677617 #177656
square
#261776 #761737 #677617 #177656
split-complementary
#261776 #765617 #377617
monochromatic
#08051A #160D43 #261776 #3621A9 #4B31D7

Accessibility & contrast

On white

14.32
#261776 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#261776 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261776
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261776#FFFFFF#000000##FFFFFF
##2617761.0014.321.4714.32
#FFFFFF14.321.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E79
Deuteranopia (green-blind)
#002674
Tritanopia (blue-blind)
#003346
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #261776;
/* rgb */ color: rgb(38, 23, 118);
/* oklch */ color: oklch(30.2% 0.150 279.6);
Tailwind
colors: {
  custom: {
    50: '#6d579f',
    500: '#261776',
    950: '#000000',
  },
}
SCSS
$custom: #261776;
$custom-light: #6d579f;
$custom-dark: #000000;
JSON
{
  "hex": "#261776",
  "rgb": {
    "r": 38,
    "g": 23,
    "b": 118
  },
  "hsl": {
    "h": 249.474,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.30182,
    "c": 0.15021,
    "h": 279.6
  },
  "luminance": 0.02333
}

Semantic roles & 50–950 ramp

primary
#261776
secondary
#9AAB3E
accent
#EA3ECF
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030F
muted
#7B787E

Preview Lab

Preview with #261776

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

Preview Lab → · Contrast checker → · Palette generator →

#261776 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva