#261B7F#261B7F

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

Color values

HEX#261B7F
RGBrgb(38, 27, 127)
HSLhsl(247, 65%, 30%)
HSVhsv(247, 79%, 50%)
CMYKcmyk(70.1%, 78.7%, 0%, 50.2%)
CIE-LABlab(18.92, 37.09, -54.12)
CIE-LCHlch(18.92, 65.61, 304.43°)
OKLaboklab(31.73% 0.0203 -0.1564)
OKLCHoklch(31.73% 0.158 277.4)
XYZxyz(5.0208, 2.7278, 20.3365)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261B7F #747F1B
analogous
#1B427F #261B7F #581B7F
triadic
#261B7F #7F261B #1B7F26
tetradic
#261B7F #7F1B42 #747F1B #1B7F58
square
#261B7F #7F1B42 #747F1B #1B7F58
split-complementary
#261B7F #7F581B #427F1B
monochromatic
#08061A #17104D #261B7F #3526B1 #4F3ED6

Accessibility & contrast

On white

13.59
#261B7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #261B7F
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261B7F#FFFFFF#000000##FFFFFF
##261B7F1.0013.591.5513.59
#FFFFFF13.591.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #261b7f;
/* rgb */ color: rgb(38, 27, 127);
/* oklch */ color: oklch(31.7% 0.158 277.4);
Tailwind
colors: {
  custom: {
    50: '#6f5aa5',
    500: '#261b7f',
    950: '#000000',
  },
}
SCSS
$custom: #261b7f;
$custom-light: #6f5aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#261b7f",
  "rgb": {
    "r": 38,
    "g": 27,
    "b": 127
  },
  "hsl": {
    "h": 246.6,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.31726,
    "c": 0.15768,
    "h": 277.4
  },
  "luminance": 0.02728
}

Semantic roles & 50–950 ramp

primary
#261B7F
secondary
#A6B343
accent
#E840D5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #261B7F

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

Preview Lab → · Contrast checker → · Palette generator →

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