#261886#261886

#261886 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.1% C 0.169 H 276.8°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#261886
RGBrgb(38, 24, 134)
HSLhsl(248, 70%, 31%)
HSVhsv(248, 82%, 53%)
CMYKcmyk(71.6%, 82.1%, 0%, 47.5%)
CIE-LABlab(19.17, 40.96, -58.14)
CIE-LCHlch(19.17, 71.12, 305.17°)
OKLaboklab(32.14% 0.02 -0.168)
OKLCHoklch(32.14% 0.169 276.8)
XYZxyz(5.4276, 2.7861, 22.8014)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261886 #788618
analogous
#184186 #261886 #5D1886
triadic
#261886 #862618 #188626
tetradic
#261886 #861841 #788618 #18865D
square
#261886 #861841 #788618 #18865D
split-complementary
#261886 #865D18 #418618
monochromatic
#09051E #170F52 #261886 #3521BA #513CDC

Accessibility & contrast

On white

13.48
#261886 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#261886 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261886
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261886#FFFFFF#000000##FFFFFF
##2618861.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003389
Deuteranopia (green-blind)
#002A84
Tritanopia (blue-blind)
#003A4F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #261886;
/* rgb */ color: rgb(38, 24, 134);
/* oklch */ color: oklch(32.1% 0.169 276.8);
Tailwind
colors: {
  custom: {
    50: '#7058aa',
    500: '#261886',
    950: '#000000',
  },
}
SCSS
$custom: #261886;
$custom-light: #7058aa;
$custom-dark: #000000;
JSON
{
  "hex": "#261886",
  "rgb": {
    "r": 38,
    "g": 24,
    "b": 134
  },
  "hsl": {
    "h": 247.636,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.32135,
    "c": 0.1692,
    "h": 276.8
  },
  "luminance": 0.02787
}

Semantic roles & 50–950 ramp

primary
#261886
secondary
#AABA40
accent
#EC3BD6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #261886

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

Preview Lab → · Contrast checker → · Palette generator →

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