#261684#261684

#261684 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.7% C 0.168 H 277.3°. Best body text is #FFFFFF at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#261684
RGBrgb(38, 22, 132)
HSLhsl(249, 71%, 30%)
HSVhsv(249, 83%, 52%)
CMYKcmyk(71.2%, 83.3%, 0%, 48.2%)
CIE-LABlab(18.59, 41.32, -57.83)
CIE-LCHlch(18.59, 71.07, 305.55°)
OKLaboklab(31.67% 0.0215 -0.1671)
OKLCHoklch(31.67% 0.168 277.3)
XYZxyz(5.2497, 2.6514, 22.0604)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261684 #748416
analogous
#163D84 #261684 #5D1684
triadic
#261684 #842616 #168426
tetradic
#261684 #84163D #748416 #16845D
square
#261684 #84163D #748416 #16845D
split-complementary
#261684 #845D16 #3D8416
monochromatic
#08051B #170D50 #261684 #351FB8 #4F37DE

Accessibility & contrast

On white

13.72
#261684 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#261684 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261684
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261684#FFFFFF#000000##FFFFFF
##2616841.0013.721.5313.72
#FFFFFF13.721.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003287
Deuteranopia (green-blind)
#002982
Tritanopia (blue-blind)
#00384E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #261684;
/* rgb */ color: rgb(38, 22, 132);
/* oklch */ color: oklch(31.7% 0.168 277.3);
Tailwind
colors: {
  custom: {
    50: '#7057a9',
    500: '#261684',
    950: '#000000',
  },
}
SCSS
$custom: #261684;
$custom-light: #7057a9;
$custom-dark: #000000;
JSON
{
  "hex": "#261684",
  "rgb": {
    "r": 38,
    "g": 22,
    "b": 132
  },
  "hsl": {
    "h": 248.727,
    "s": 71.429,
    "l": 30.196
  },
  "oklch": {
    "l": 0.31666,
    "c": 0.16846,
    "h": 277.3
  },
  "luminance": 0.02652
}

Semantic roles & 50–950 ramp

primary
#261684
secondary
#A6B83D
accent
#EE3AD4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #261684

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

Preview Lab → · Contrast checker → · Palette generator →

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