#261C7C#261C7C

#261C7C is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.5% C 0.153 H 277.7°. Best body text is #FFFFFF at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#261C7C
RGBrgb(38, 28, 124)
HSLhsl(246, 63%, 30%)
HSVhsv(246, 77%, 49%)
CMYKcmyk(69.4%, 77.4%, 0%, 51.4%)
CIE-LABlab(18.79, 35.52, -52.42)
CIE-LCHlch(18.79, 63.33, 304.12°)
OKLaboklab(31.54% 0.0205 -0.1514)
OKLCHoklch(31.54% 0.153 277.7)
XYZxyz(4.8515, 2.6974, 19.3299)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261C7C #727C1C
analogous
#1C427C #261C7C #561C7C
triadic
#261C7C #7C261C #1C7C26
tetradic
#261C7C #7C1C42 #727C1C #1C7C56
square
#261C7C #7C1C42 #727C1C #1C7C56
split-complementary
#261C7C #7C561C #427C1C
monochromatic
#080619 #17114A #261C7C #3527AE #4E3FD4

Accessibility & contrast

On white

13.64
#261C7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#261C7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261C7C
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261C7C#FFFFFF#000000##FFFFFF
##261C7C1.0013.641.5413.64
#FFFFFF13.641.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327F
Deuteranopia (green-blind)
#002A7A
Tritanopia (blue-blind)
#00384A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #261c7c;
/* rgb */ color: rgb(38, 28, 124);
/* oklch */ color: oklch(31.5% 0.153 277.7);
Tailwind
colors: {
  custom: {
    50: '#6e5aa3',
    500: '#261c7c',
    950: '#000000',
  },
}
SCSS
$custom: #261c7c;
$custom-light: #6e5aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#261c7c",
  "rgb": {
    "r": 38,
    "g": 28,
    "b": 124
  },
  "hsl": {
    "h": 246.25,
    "s": 63.158,
    "l": 29.804
  },
  "oklch": {
    "l": 0.31536,
    "c": 0.15281,
    "h": 277.7
  },
  "luminance": 0.02698
}

Semantic roles & 50–950 ramp

primary
#261C7C
secondary
#A5B044
accent
#E642D5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #261C7C

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

Preview Lab → · Contrast checker → · Palette generator →

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