#261C71#261C71

#261C71 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.4% C 0.138 H 279.5°. Best body text is #FFFFFF at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#261C71
RGBrgb(38, 28, 113)
HSLhsl(247, 60%, 28%)
HSVhsv(247, 75%, 44%)
CMYKcmyk(66.4%, 75.2%, 0%, 55.7%)
CIE-LABlab(17.62, 31.78, -47.28)
CIE-LCHlch(17.62, 56.97, 303.90°)
OKLaboklab(30.35% 0.0229 -0.1364)
OKLCHoklch(30.35% 0.138 279.5)
XYZxyz(4.1943, 2.4345, 15.8685)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261C71 #67711C
analogous
#1C3C71 #261C71 #511C71
triadic
#261C71 #71261C #1C7126
tetradic
#261C71 #711C3C #67711C #1C7151
square
#261C71 #711C3C #67711C #1C7151
split-complementary
#261C71 #71511C #3C711C
monochromatic
#080619 #161040 #261C71 #3628A2 #4B39CE

Accessibility & contrast

On white

14.12
#261C71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#261C71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261C71
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261C71#FFFFFF#000000##FFFFFF
##261C711.0014.121.4914.12
#FFFFFF14.121.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E74
Deuteranopia (green-blind)
#00286F
Tritanopia (blue-blind)
#003344
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #261c71;
/* rgb */ color: rgb(38, 28, 113);
/* oklch */ color: oklch(30.4% 0.138 279.5);
Tailwind
colors: {
  custom: {
    50: '#6b599b',
    500: '#261c71',
    950: '#000000',
  },
}
SCSS
$custom: #261c71;
$custom-light: #6b599b;
$custom-dark: #000000;
JSON
{
  "hex": "#261c71",
  "rgb": {
    "r": 38,
    "g": 28,
    "b": 113
  },
  "hsl": {
    "h": 247.059,
    "s": 60.284,
    "l": 27.647
  },
  "oklch": {
    "l": 0.30355,
    "c": 0.13834,
    "h": 279.5
  },
  "luminance": 0.02435
}

Semantic roles & 50–950 ramp

primary
#261C71
secondary
#9AA643
accent
#E344D1
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #261C71

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

Preview Lab → · Contrast checker → · Palette generator →

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