#261E8E#261E8E

#261E8E is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.8% C 0.174 H 275.0°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#261E8E
RGBrgb(38, 30, 142)
HSLhsl(244, 65%, 34%)
HSVhsv(244, 79%, 56%)
CMYKcmyk(73.2%, 78.9%, 0%, 44.3%)
CIE-LABlab(21.18, 40.41, -59.81)
CIE-LCHlch(21.18, 72.18, 304.04°)
OKLaboklab(33.81% 0.015 -0.173)
OKLCHoklch(33.81% 0.174 275)
XYZxyz(6.1445, 3.2930, 25.8977)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261E8E #868E1E
analogous
#1E4E8E #261E8E #5E1E8E
triadic
#261E8E #8E261E #1E8E26
tetradic
#261E8E #8E1E4E #868E1E #1E8E5E
square
#261E8E #8E1E4E #868E1E #1E8E5E
split-complementary
#261E8E #8E5E1E #4E8E1E
monochromatic
#0B0929 #18135B #261E8E #3429C1 #574DD9

Accessibility & contrast

On white

12.66
#261E8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#261E8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261E8E
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261E8E#FFFFFF#000000##FFFFFF
##261E8E1.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003891
Deuteranopia (green-blind)
#002E8C
Tritanopia (blue-blind)
#004055
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #261e8e;
/* rgb */ color: rgb(38, 30, 142);
/* oklch */ color: oklch(33.8% 0.174 275.0);
Tailwind
colors: {
  custom: {
    50: '#725cb0',
    500: '#261e8e',
    950: '#000000',
  },
}
SCSS
$custom: #261e8e;
$custom-light: #725cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#261e8e",
  "rgb": {
    "r": 38,
    "g": 30,
    "b": 142
  },
  "hsl": {
    "h": 244.286,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.33813,
    "c": 0.17362,
    "h": 275
  },
  "luminance": 0.03294
}

Semantic roles & 50–950 ramp

primary
#261E8E
secondary
#B4BC4C
accent
#E840DC
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #261E8E

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

Preview Lab → · Contrast checker → · Palette generator →

#261E8E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva