#261C74#261C74

#261C74 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.7% C 0.142 H 279.0°. Best body text is #FFFFFF at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#261C74
RGBrgb(38, 28, 116)
HSLhsl(247, 61%, 28%)
HSVhsv(247, 76%, 45%)
CMYKcmyk(67.2%, 75.9%, 0%, 54.5%)
CIE-LABlab(17.93, 32.80, -48.71)
CIE-LCHlch(17.93, 58.72, 303.96°)
OKLaboklab(30.67% 0.0223 -0.1406)
OKLCHoklch(30.67% 0.142 279)
XYZxyz(4.3660, 2.5032, 16.7727)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261C74 #6A741C
analogous
#1C3E74 #261C74 #521C74
triadic
#261C74 #74261C #1C7426
tetradic
#261C74 #741C3E #6A741C #1C7452
square
#261C74 #741C3E #6A741C #1C7452
split-complementary
#261C74 #74521C #3E741C
monochromatic
#080619 #161043 #261C74 #3628A5 #4C3BD0

Accessibility & contrast

On white

13.99
#261C74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#261C74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261C74
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261C74#FFFFFF#000000##FFFFFF
##261C741.0013.991.5013.99
#FFFFFF13.991.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F77
Deuteranopia (green-blind)
#002872
Tritanopia (blue-blind)
#003546
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #261c74;
/* rgb */ color: rgb(38, 28, 116);
/* oklch */ color: oklch(30.7% 0.142 279.0);
Tailwind
colors: {
  custom: {
    50: '#6c5a9d',
    500: '#261c74',
    950: '#000000',
  },
}
SCSS
$custom: #261c74;
$custom-light: #6c5a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#261c74",
  "rgb": {
    "r": 38,
    "g": 28,
    "b": 116
  },
  "hsl": {
    "h": 246.818,
    "s": 61.111,
    "l": 28.235
  },
  "oklch": {
    "l": 0.30673,
    "c": 0.14234,
    "h": 279
  },
  "luminance": 0.02504
}

Semantic roles & 50–950 ramp

primary
#261C74
secondary
#9DA843
accent
#E444D2
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08040E
muted
#7A797E

Preview Lab

Preview with #261C74

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

Preview Lab → · Contrast checker → · Palette generator →

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