#261B7D#261B7D

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

Color values

HEX#261B7D
RGBrgb(38, 27, 125)
HSLhsl(247, 64%, 30%)
HSVhsv(247, 78%, 49%)
CMYKcmyk(69.6%, 78.4%, 0%, 51%)
CIE-LABlab(18.70, 36.43, -53.21)
CIE-LCHlch(18.70, 64.49, 304.39°)
OKLaboklab(31.5% 0.0208 -0.1537)
OKLCHoklch(31.5% 0.155 277.7)
XYZxyz(4.8917, 2.6762, 19.6568)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261B7D #727D1B
analogous
#1B417D #261B7D #571B7D
triadic
#261B7D #7D261B #1B7D26
tetradic
#261B7D #7D1B41 #727D1B #1B7D57
square
#261B7D #7D1B41 #727D1B #1B7D57
split-complementary
#261B7D #7D571B #417D1B
monochromatic
#080519 #17104B #261B7D #3526AF #4E3DD5

Accessibility & contrast

On white

13.68
#261B7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #261B7D
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261B7D#FFFFFF#000000##FFFFFF
##261B7D1.0013.681.5413.68
#FFFFFF13.681.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003180
Deuteranopia (green-blind)
#00297B
Tritanopia (blue-blind)
#00384B
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #261b7d;
/* rgb */ color: rgb(38, 27, 125);
/* oklch */ color: oklch(31.5% 0.155 277.7);
Tailwind
colors: {
  custom: {
    50: '#6e59a4',
    500: '#261b7d',
    950: '#000000',
  },
}
SCSS
$custom: #261b7d;
$custom-light: #6e59a4;
$custom-dark: #000000;
JSON
{
  "hex": "#261b7d",
  "rgb": {
    "r": 38,
    "g": 27,
    "b": 125
  },
  "hsl": {
    "h": 246.735,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.31504,
    "c": 0.15513,
    "h": 277.7
  },
  "luminance": 0.02677
}

Semantic roles & 50–950 ramp

primary
#261B7D
secondary
#A5B143
accent
#E740D5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #261B7D

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

Preview Lab → · Contrast checker → · Palette generator →

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