#261A7C#261A7C

#261A7C is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.3% C 0.155 H 278.0°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#261A7C
RGBrgb(38, 26, 124)
HSLhsl(247, 65%, 29%)
HSVhsv(247, 79%, 49%)
CMYKcmyk(69.4%, 79%, 0%, 51.4%)
CIE-LABlab(18.39, 36.65, -53.08)
CIE-LCHlch(18.39, 64.51, 304.63°)
OKLaboklab(31.26% 0.0217 -0.1533)
OKLCHoklch(31.26% 0.155 278)
XYZxyz(4.8056, 2.6057, 19.3146)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261A7C #707C1A
analogous
#1A3F7C #261A7C #571A7C
triadic
#261A7C #7C261A #1A7C26
tetradic
#261A7C #7C1A3F #707C1A #1A7C57
square
#261A7C #7C1A3F #707C1A #1A7C57
split-complementary
#261A7C #7C571A #3F7C1A
monochromatic
#080519 #160F49 #261A7C #3625AF #4E3BD6

Accessibility & contrast

On white

13.80
#261A7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#261A7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261A7C
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261A7C#FFFFFF#000000##FFFFFF
##261A7C1.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317F
Deuteranopia (green-blind)
#00297A
Tritanopia (blue-blind)
#00374A
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #261a7c;
/* rgb */ color: rgb(38, 26, 124);
/* oklch */ color: oklch(31.3% 0.155 278.0);
Tailwind
colors: {
  custom: {
    50: '#6e59a3',
    500: '#261a7c',
    950: '#000000',
  },
}
SCSS
$custom: #261a7c;
$custom-light: #6e59a3;
$custom-dark: #000000;
JSON
{
  "hex": "#261a7c",
  "rgb": {
    "r": 38,
    "g": 26,
    "b": 124
  },
  "hsl": {
    "h": 247.347,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.31255,
    "c": 0.15486,
    "h": 278
  },
  "luminance": 0.02606
}

Semantic roles & 50–950 ramp

primary
#261A7C
secondary
#A3B042
accent
#E840D4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #261A7C

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

Preview Lab → · Contrast checker → · Palette generator →

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