#261679#261679

#261679 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.4% C 0.155 H 279.2°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#261679
RGBrgb(38, 22, 121)
HSLhsl(250, 69%, 28%)
HSVhsv(250, 82%, 47%)
CMYKcmyk(68.6%, 81.8%, 0%, 52.5%)
CIE-LABlab(17.30, 37.83, -52.96)
CIE-LCHlch(17.30, 65.08, 305.53°)
OKLaboklab(30.39% 0.0248 -0.1529)
OKLCHoklch(30.39% 0.155 279.2)
XYZxyz(4.5363, 2.3660, 18.3031)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261679 #697916
analogous
#163779 #261679 #571679
triadic
#261679 #792616 #167926
tetradic
#261679 #791637 #697916 #167957
square
#261679 #791637 #697916 #167957
split-complementary
#261679 #795716 #377916
monochromatic
#08051A #160D45 #261679 #361FAD #4B30D9

Accessibility & contrast

On white

14.25
#261679 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #261679
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261679#FFFFFF#000000##FFFFFF
##2616791.0014.251.4714.25
#FFFFFF14.251.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E7C
Deuteranopia (green-blind)
#002777
Tritanopia (blue-blind)
#003447
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #261679;
/* rgb */ color: rgb(38, 22, 121);
/* oklch */ color: oklch(30.4% 0.155 279.2);
Tailwind
colors: {
  custom: {
    50: '#6e56a1',
    500: '#261679',
    950: '#000000',
  },
}
SCSS
$custom: #261679;
$custom-light: #6e56a1;
$custom-dark: #000000;
JSON
{
  "hex": "#261679",
  "rgb": {
    "r": 38,
    "g": 22,
    "b": 121
  },
  "hsl": {
    "h": 249.697,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.30393,
    "c": 0.15494,
    "h": 279.2
  },
  "luminance": 0.02366
}

Semantic roles & 50–950 ramp

primary
#261679
secondary
#9CAE3D
accent
#EC3CD0
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#08030F
muted
#7B787F

Preview Lab

Preview with #261679

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

Preview Lab → · Contrast checker → · Palette generator →

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