#261882#261882

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

Color values

HEX#261882
RGBrgb(38, 24, 130)
HSLhsl(248, 69%, 30%)
HSVhsv(248, 82%, 51%)
CMYKcmyk(70.8%, 81.5%, 0%, 49%)
CIE-LABlab(18.70, 39.68, -56.38)
CIE-LCHlch(18.70, 68.95, 305.14°)
OKLaboklab(31.67% 0.0211 -0.1629)
OKLCHoklch(31.67% 0.164 277.4)
XYZxyz(5.1539, 2.6766, 21.3598)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261882 #748218
analogous
#183F82 #261882 #5B1882
triadic
#261882 #822618 #188226
tetradic
#261882 #82183F #748218 #18825B
square
#261882 #82183F #748218 #18825B
split-complementary
#261882 #825B18 #3F8218
monochromatic
#08051B #170E4E #261882 #3522B6 #4F3ADB

Accessibility & contrast

On white

13.68
#261882 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#261882 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261882
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261882#FFFFFF#000000##FFFFFF
##2618821.0013.681.5413.68
#FFFFFF13.681.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003285
Deuteranopia (green-blind)
#002980
Tritanopia (blue-blind)
#00384D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #261882;
/* rgb */ color: rgb(38, 24, 130);
/* oklch */ color: oklch(31.7% 0.164 277.4);
Tailwind
colors: {
  custom: {
    50: '#7058a7',
    500: '#261882',
    950: '#000000',
  },
}
SCSS
$custom: #261882;
$custom-light: #7058a7;
$custom-dark: #000000;
JSON
{
  "hex": "#261882",
  "rgb": {
    "r": 38,
    "g": 24,
    "b": 130
  },
  "hsl": {
    "h": 247.925,
    "s": 68.831,
    "l": 30.196
  },
  "oklch": {
    "l": 0.31673,
    "c": 0.16428,
    "h": 277.4
  },
  "luminance": 0.02677
}

Semantic roles & 50–950 ramp

primary
#261882
secondary
#A6B640
accent
#EC3CD4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #261882

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

Preview Lab → · Contrast checker → · Palette generator →

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