#261884#261884

#261884 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.9% C 0.167 H 277.1°. Best body text is #FFFFFF at 13.58:1 contrast (WCAG AA passes).

Color values

HEX#261884
RGBrgb(38, 24, 132)
HSLhsl(248, 69%, 31%)
HSVhsv(248, 82%, 52%)
CMYKcmyk(71.2%, 81.8%, 0%, 48.2%)
CIE-LABlab(18.93, 40.33, -57.26)
CIE-LCHlch(18.93, 70.04, 305.15°)
OKLaboklab(31.9% 0.0205 -0.1655)
OKLCHoklch(31.9% 0.167 277.1)
XYZxyz(5.2895, 2.7308, 22.0737)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261884 #768418
analogous
#184084 #261884 #5C1884
triadic
#261884 #842618 #188426
tetradic
#261884 #841840 #768418 #18845C
square
#261884 #841840 #768418 #18845C
split-complementary
#261884 #845C18 #408418
monochromatic
#08051C #170F50 #261884 #3521B8 #503BDB

Accessibility & contrast

On white

13.58
#261884 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#261884 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261884
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261884#FFFFFF#000000##FFFFFF
##2618841.0013.581.5513.58
#FFFFFF13.581.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #261884;
/* rgb */ color: rgb(38, 24, 132);
/* oklch */ color: oklch(31.9% 0.167 277.1);
Tailwind
colors: {
  custom: {
    50: '#7058a9',
    500: '#261884',
    950: '#000000',
  },
}
SCSS
$custom: #261884;
$custom-light: #7058a9;
$custom-dark: #000000;
JSON
{
  "hex": "#261884",
  "rgb": {
    "r": 38,
    "g": 24,
    "b": 132
  },
  "hsl": {
    "h": 247.778,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.31904,
    "c": 0.16675,
    "h": 277.1
  },
  "luminance": 0.02731
}

Semantic roles & 50–950 ramp

primary
#261884
secondary
#A8B840
accent
#EC3CD5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #261884

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

Preview Lab → · Contrast checker → · Palette generator →

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