#261879#261879

#261879 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.6% C 0.153 H 278.9°. Best body text is #FFFFFF at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#261879
RGBrgb(38, 24, 121)
HSLhsl(249, 67%, 28%)
HSVhsv(249, 80%, 47%)
CMYKcmyk(68.6%, 80.2%, 0%, 52.5%)
CIE-LABlab(17.67, 36.77, -52.35)
CIE-LCHlch(17.67, 63.97, 305.08°)
OKLaboklab(30.65% 0.0237 -0.1512)
OKLCHoklch(30.65% 0.153 278.9)
XYZxyz(4.5760, 2.4454, 18.3163)
Luminance0.0245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261879 #6B7918
analogous
#183A79 #261879 #561879
triadic
#261879 #792618 #187926
tetradic
#261879 #79183A #6B7918 #187956
square
#261879 #79183A #6B7918 #187956
split-complementary
#261879 #795618 #3A7918
monochromatic
#08051A #160E46 #261879 #3622AC #4C35D7

Accessibility & contrast

On white

14.10
#261879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#261879 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261879
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261879#FFFFFF#000000##FFFFFF
##2618791.0014.101.4914.10
#FFFFFF14.101.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #261879;
/* rgb */ color: rgb(38, 24, 121);
/* oklch */ color: oklch(30.6% 0.153 278.9);
Tailwind
colors: {
  custom: {
    50: '#6d57a1',
    500: '#261879',
    950: '#000000',
  },
}
SCSS
$custom: #261879;
$custom-light: #6d57a1;
$custom-dark: #000000;
JSON
{
  "hex": "#261879",
  "rgb": {
    "r": 38,
    "g": 24,
    "b": 121
  },
  "hsl": {
    "h": 248.66,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.3065,
    "c": 0.15303,
    "h": 278.9
  },
  "luminance": 0.02446
}

Semantic roles & 50–950 ramp

primary
#261879
secondary
#9EAE3F
accent
#EA3ED1
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#08030F
muted
#7B787F

Preview Lab

Preview with #261879

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

Preview Lab → · Contrast checker → · Palette generator →

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