#261995#261995

#261995 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 34.0% C 0.186 H 274.7°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#261995
RGBrgb(38, 25, 149)
HSLhsl(246, 71%, 34%)
HSVhsv(246, 83%, 58%)
CMYKcmyk(74.5%, 83.2%, 0%, 41.6%)
CIE-LABlab(21.12, 45.20, -64.26)
CIE-LCHlch(21.12, 78.56, 305.13°)
OKLaboklab(34.01% 0.0153 -0.1858)
OKLCHoklch(34.01% 0.186 274.7)
XYZxyz(6.5700, 3.2766, 28.7141)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261995 #889519
analogous
#194A95 #261995 #641995
triadic
#261995 #952619 #199526
tetradic
#261995 #95194A #889519 #199564
square
#261995 #95194A #889519 #199564
split-complementary
#261995 #956419 #4A9519
monochromatic
#0B072C #191061 #261995 #3322C9 #5848E0

Accessibility & contrast

On white

12.69
#261995 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#261995 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261995
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261995#FFFFFF#000000##FFFFFF
##2619951.0012.691.6612.69
#FFFFFF12.691.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003898
Deuteranopia (green-blind)
#002D93
Tritanopia (blue-blind)
#004058
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #261995;
/* rgb */ color: rgb(38, 25, 149);
/* oklch */ color: oklch(34.0% 0.186 274.7);
Tailwind
colors: {
  custom: {
    50: '#745ab5',
    500: '#261995',
    950: '#000000',
  },
}
SCSS
$custom: #261995;
$custom-light: #745ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#261995",
  "rgb": {
    "r": 38,
    "g": 25,
    "b": 149
  },
  "hsl": {
    "h": 246.29,
    "s": 71.264,
    "l": 34.118
  },
  "oklch": {
    "l": 0.34009,
    "c": 0.18643,
    "h": 274.7
  },
  "luminance": 0.03277
}

Semantic roles & 50–950 ramp

primary
#261995
secondary
#B5C248
accent
#EE3ADB
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #261995

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

Preview Lab → · Contrast checker → · Palette generator →

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