#261B7C#261B7C

#261B7C is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.4% C 0.154 H 277.9°. Best body text is #FFFFFF at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#261B7C
RGBrgb(38, 27, 124)
HSLhsl(247, 64%, 30%)
HSVhsv(247, 78%, 49%)
CMYKcmyk(69.4%, 78.2%, 0%, 51.4%)
CIE-LABlab(18.59, 36.09, -52.76)
CIE-LCHlch(18.59, 63.92, 304.38°)
OKLaboklab(31.39% 0.0211 -0.1524)
OKLCHoklch(31.39% 0.154 277.9)
XYZxyz(4.8282, 2.6508, 19.3221)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261B7C #717C1B
analogous
#1B417C #261B7C #571B7C
triadic
#261B7C #7C261B #1B7C26
tetradic
#261B7C #7C1B41 #717C1B #1B7C57
square
#261B7C #7C1B41 #717C1B #1B7C57
split-complementary
#261B7C #7C571B #417C1B
monochromatic
#080519 #17104A #261B7C #3526AE #4E3DD5

Accessibility & contrast

On white

13.72
#261B7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#261B7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261B7C
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261B7C#FFFFFF#000000##FFFFFF
##261B7C1.0013.721.5313.72
#FFFFFF13.721.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.721.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: #261b7c;
/* rgb */ color: rgb(38, 27, 124);
/* oklch */ color: oklch(31.4% 0.154 277.9);
Tailwind
colors: {
  custom: {
    50: '#6e59a3',
    500: '#261b7c',
    950: '#000000',
  },
}
SCSS
$custom: #261b7c;
$custom-light: #6e59a3;
$custom-dark: #000000;
JSON
{
  "hex": "#261b7c",
  "rgb": {
    "r": 38,
    "g": 27,
    "b": 124
  },
  "hsl": {
    "h": 246.804,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.31394,
    "c": 0.15385,
    "h": 277.9
  },
  "luminance": 0.02651
}

Semantic roles & 50–950 ramp

primary
#261B7C
secondary
#A4B043
accent
#E741D4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #261B7C

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

Preview Lab → · Contrast checker → · Palette generator →

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