#261998#261998

#261998 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.4% C 0.190 H 274.4°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#261998
RGBrgb(38, 25, 152)
HSLhsl(246, 72%, 35%)
HSVhsv(246, 84%, 60%)
CMYKcmyk(75%, 83.6%, 0%, 40.4%)
CIE-LABlab(21.48, 46.14, -65.51)
CIE-LCHlch(21.48, 80.12, 305.16°)
OKLaboklab(34.37% 0.0144 -0.1894)
OKLCHoklch(34.37% 0.19 274.4)
XYZxyz(6.8126, 3.3736, 29.9918)
Luminance0.0337 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261998 #8B9819
analogous
#194B98 #261998 #661998
triadic
#261998 #982619 #199826
tetradic
#261998 #98194B #8B9819 #199866
square
#261998 #98194B #8B9819 #199866
split-complementary
#261998 #986619 #4B9819
monochromatic
#0C082F #191063 #261998 #3322CD #5A4AE1

Accessibility & contrast

On white

12.54
#261998 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#261998 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261998
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261998#FFFFFF#000000##FFFFFF
##2619981.0012.541.6712.54
#FFFFFF12.541.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00399B
Deuteranopia (green-blind)
#002E96
Tritanopia (blue-blind)
#00425A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #261998;
/* rgb */ color: rgb(38, 25, 152);
/* oklch */ color: oklch(34.4% 0.190 274.4);
Tailwind
colors: {
  custom: {
    50: '#755ab8',
    500: '#261998',
    950: '#000000',
  },
}
SCSS
$custom: #261998;
$custom-light: #755ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#261998",
  "rgb": {
    "r": 38,
    "g": 25,
    "b": 152
  },
  "hsl": {
    "h": 246.142,
    "s": 71.751,
    "l": 34.706
  },
  "oklch": {
    "l": 0.34365,
    "c": 0.18997,
    "h": 274.4
  },
  "luminance": 0.03374
}

Semantic roles & 50–950 ramp

primary
#261998
secondary
#B7C34A
accent
#EE39DC
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #261998

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

Preview Lab → · Contrast checker → · Palette generator →

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