#261583#261583

#261583 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.4% C 0.168 H 277.6°. Best body text is #FFFFFF at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#261583
RGBrgb(38, 21, 131)
HSLhsl(249, 72%, 30%)
HSVhsv(249, 84%, 51%)
CMYKcmyk(71%, 84%, 0%, 48.6%)
CIE-LABlab(18.31, 41.49, -57.67)
CIE-LCHlch(18.31, 71.04, 305.73°)
OKLaboklab(31.44% 0.0222 -0.1666)
OKLCHoklch(31.44% 0.168 277.6)
XYZxyz(5.1629, 2.5866, 21.6955)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261583 #728315
analogous
#153B83 #261583 #5D1583
triadic
#261583 #832615 #158326
tetradic
#261583 #83153B #728315 #15835D
square
#261583 #83153B #728315 #15835D
split-complementary
#261583 #835D15 #3B8315
monochromatic
#08041A #170D4E #261583 #351DB8 #4E34DE

Accessibility & contrast

On white

13.84
#261583 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#261583 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261583
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261583#FFFFFF#000000##FFFFFF
##2615831.0013.841.5213.84
#FFFFFF13.841.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #261583;
/* rgb */ color: rgb(38, 21, 131);
/* oklch */ color: oklch(31.4% 0.168 277.6);
Tailwind
colors: {
  custom: {
    50: '#7057a8',
    500: '#261583',
    950: '#000000',
  },
}
SCSS
$custom: #261583;
$custom-light: #7057a8;
$custom-dark: #000000;
JSON
{
  "hex": "#261583",
  "rgb": {
    "r": 38,
    "g": 21,
    "b": 131
  },
  "hsl": {
    "h": 249.273,
    "s": 72.368,
    "l": 29.804
  },
  "oklch": {
    "l": 0.31435,
    "c": 0.16808,
    "h": 277.6
  },
  "luminance": 0.02587
}

Semantic roles & 50–950 ramp

primary
#261583
secondary
#A5B83C
accent
#EF39D3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #261583

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

Preview Lab → · Contrast checker → · Palette generator →

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