#261C7E#261C7E

#261C7E is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.8% C 0.155 H 277.4°. Best body text is #FFFFFF at 13.55:1 contrast (WCAG AA passes).

Color values

HEX#261C7E
RGBrgb(38, 28, 126)
HSLhsl(246, 64%, 30%)
HSVhsv(246, 78%, 49%)
CMYKcmyk(69.8%, 77.8%, 0%, 50.6%)
CIE-LABlab(19.01, 36.20, -53.34)
CIE-LCHlch(19.01, 64.46, 304.16°)
OKLaboklab(31.76% 0.02 -0.1541)
OKLCHoklch(31.76% 0.155 277.4)
XYZxyz(4.9793, 2.7485, 20.0027)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261C7E #747E1C
analogous
#1C437E #261C7E #571C7E
triadic
#261C7E #7E261C #1C7E26
tetradic
#261C7E #7E1C43 #747E1C #1C7E57
square
#261C7E #7E1C43 #747E1C #1C7E57
split-complementary
#261C7E #7E571C #437E1C
monochromatic
#08061A #17114C #261C7E #3527B0 #4F40D5

Accessibility & contrast

On white

13.55
#261C7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#261C7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261C7E
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261C7E#FFFFFF#000000##FFFFFF
##261C7E1.0013.551.5513.55
#FFFFFF13.551.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003281
Deuteranopia (green-blind)
#002A7C
Tritanopia (blue-blind)
#00384C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #261c7e;
/* rgb */ color: rgb(38, 28, 126);
/* oklch */ color: oklch(31.8% 0.155 277.4);
Tailwind
colors: {
  custom: {
    50: '#6e5aa4',
    500: '#261c7e',
    950: '#000000',
  },
}
SCSS
$custom: #261c7e;
$custom-light: #6e5aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#261c7e",
  "rgb": {
    "r": 38,
    "g": 28,
    "b": 126
  },
  "hsl": {
    "h": 246.122,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.31755,
    "c": 0.15539,
    "h": 277.4
  },
  "luminance": 0.02749
}

Semantic roles & 50–950 ramp

primary
#261C7E
secondary
#A6B244
accent
#E741D6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #261C7E

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

Preview Lab → · Contrast checker → · Palette generator →

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