#261888#261888

#261888 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.4% C 0.172 H 276.5°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#261888
RGBrgb(38, 24, 136)
HSLhsl(248, 70%, 31%)
HSVhsv(248, 82%, 53%)
CMYKcmyk(72.1%, 82.4%, 0%, 46.7%)
CIE-LABlab(19.40, 41.60, -59.00)
CIE-LCHlch(19.40, 72.20, 305.19°)
OKLaboklab(32.37% 0.0194 -0.1705)
OKLCHoklch(32.37% 0.172 276.5)
XYZxyz(5.5684, 2.8424, 23.5430)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261888 #7A8818
analogous
#184288 #261888 #5E1888
triadic
#261888 #882618 #188826
tetradic
#261888 #881842 #7A8818 #18885E
square
#261888 #881842 #7A8818 #18885E
split-complementary
#261888 #885E18 #428818
monochromatic
#090620 #170F54 #261888 #3521BC #513EDD

Accessibility & contrast

On white

13.39
#261888 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#261888 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261888
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261888#FFFFFF#000000##FFFFFF
##2618881.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00348B
Deuteranopia (green-blind)
#002A86
Tritanopia (blue-blind)
#003B50
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #261888;
/* rgb */ color: rgb(38, 24, 136);
/* oklch */ color: oklch(32.4% 0.172 276.5);
Tailwind
colors: {
  custom: {
    50: '#7159ac',
    500: '#261888',
    950: '#000000',
  },
}
SCSS
$custom: #261888;
$custom-light: #7159ac;
$custom-dark: #000000;
JSON
{
  "hex": "#261888",
  "rgb": {
    "r": 38,
    "g": 24,
    "b": 136
  },
  "hsl": {
    "h": 247.5,
    "s": 70,
    "l": 31.373
  },
  "oklch": {
    "l": 0.32367,
    "c": 0.17164,
    "h": 276.5
  },
  "luminance": 0.02843
}

Semantic roles & 50–950 ramp

primary
#261888
secondary
#ACBC40
accent
#ED3BD7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #261888

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

Preview Lab → · Contrast checker → · Palette generator →

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