#261678#261678

#261678 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.3% C 0.154 H 279.4°. Best body text is #FFFFFF at 14.30:1 contrast (WCAG AA passes).

Color values

HEX#261678
RGBrgb(38, 22, 120)
HSLhsl(250, 69%, 28%)
HSVhsv(250, 82%, 47%)
CMYKcmyk(68.3%, 81.7%, 0%, 52.9%)
CIE-LABlab(17.19, 37.50, -52.51)
CIE-LCHlch(17.19, 64.53, 305.54°)
OKLaboklab(30.28% 0.0251 -0.1516)
OKLCHoklch(30.28% 0.154 279.4)
XYZxyz(4.4753, 2.3416, 17.9818)
Luminance0.0234 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261678 #687816
analogous
#163778 #261678 #571678
triadic
#261678 #782616 #167826
tetradic
#261678 #781637 #687816 #167857
square
#261678 #781637 #687816 #167857
split-complementary
#261678 #785716 #377816
monochromatic
#08051A #160D44 #261678 #361FAC #4B2FD9

Accessibility & contrast

On white

14.30
#261678 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #261678
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261678#FFFFFF#000000##FFFFFF
##2616781.0014.301.4714.30
#FFFFFF14.301.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E7B
Deuteranopia (green-blind)
#002676
Tritanopia (blue-blind)
#003347
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #261678;
/* rgb */ color: rgb(38, 22, 120);
/* oklch */ color: oklch(30.3% 0.154 279.4);
Tailwind
colors: {
  custom: {
    50: '#6d56a0',
    500: '#261678',
    950: '#000000',
  },
}
SCSS
$custom: #261678;
$custom-light: #6d56a0;
$custom-dark: #000000;
JSON
{
  "hex": "#261678",
  "rgb": {
    "r": 38,
    "g": 22,
    "b": 120
  },
  "hsl": {
    "h": 249.796,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.30279,
    "c": 0.15369,
    "h": 279.4
  },
  "luminance": 0.02342
}

Semantic roles & 50–950 ramp

primary
#261678
secondary
#9BAD3C
accent
#EC3CCF
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#08030F
muted
#7B787F

Preview Lab

Preview with #261678

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

Preview Lab → · Contrast checker → · Palette generator →

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