#261E8B#261E8B

#261E8B is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.5% C 0.170 H 275.3°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#261E8B
RGBrgb(38, 30, 139)
HSLhsl(244, 64%, 33%)
HSVhsv(244, 78%, 55%)
CMYKcmyk(72.7%, 78.4%, 0%, 45.5%)
CIE-LABlab(20.84, 39.42, -58.50)
CIE-LCHlch(20.84, 70.54, 303.97°)
OKLaboklab(33.48% 0.0158 -0.1691)
OKLCHoklch(33.48% 0.17 275.3)
XYZxyz(5.9223, 3.2041, 24.7274)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261E8B #838B1E
analogous
#1E4C8B #261E8B #5C1E8B
triadic
#261E8B #8B261E #1E8B26
tetradic
#261E8B #8B1E4C #838B1E #1E8B5C
square
#261E8B #8B1E4C #838B1E #1E8B5C
split-complementary
#261E8B #8B5C1E #4C8B1E
monochromatic
#0A0826 #181359 #261E8B #3429BD #564BD8

Accessibility & contrast

On white

12.80
#261E8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#261E8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261E8B
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261E8B#FFFFFF#000000##FFFFFF
##261E8B1.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00378E
Deuteranopia (green-blind)
#002D89
Tritanopia (blue-blind)
#003E53
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #261e8b;
/* rgb */ color: rgb(38, 30, 139);
/* oklch */ color: oklch(33.5% 0.170 275.3);
Tailwind
colors: {
  custom: {
    50: '#715cae',
    500: '#261e8b',
    950: '#000000',
  },
}
SCSS
$custom: #261e8b;
$custom-light: #715cae;
$custom-dark: #000000;
JSON
{
  "hex": "#261e8b",
  "rgb": {
    "r": 38,
    "g": 30,
    "b": 139
  },
  "hsl": {
    "h": 244.404,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.33476,
    "c": 0.16988,
    "h": 275.3
  },
  "luminance": 0.03205
}

Semantic roles & 50–950 ramp

primary
#261E8B
secondary
#B2BB4A
accent
#E740DB
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090410
muted
#7B797F

Preview Lab

Preview with #261E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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