#261B6F#261B6F

#261B6F is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.0% C 0.137 H 280.2°. Best body text is #FFFFFF at 14.30:1 contrast (WCAG AA passes).

Color values

HEX#261B6F
RGBrgb(38, 27, 111)
HSLhsl(248, 61%, 27%)
HSVhsv(248, 76%, 44%)
CMYKcmyk(65.8%, 75.7%, 0%, 56.5%)
CIE-LABlab(17.19, 31.70, -46.69)
CIE-LCHlch(17.19, 56.43, 304.17°)
OKLaboklab(29.99% 0.0241 -0.1347)
OKLCHoklch(29.99% 0.137 280.2)
XYZxyz(4.0596, 2.3433, 15.2742)
Luminance0.0234 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261B6F #646F1B
analogous
#1B3A6F #261B6F #501B6F
triadic
#261B6F #6F261B #1B6F26
tetradic
#261B6F #6F1B3A #646F1B #1B6F50
square
#261B6F #6F1B3A #646F1B #1B6F50
split-complementary
#261B6F #6F501B #3A6F1B
monochromatic
#080619 #150F3E #261B6F #3727A0 #4A36CE

Accessibility & contrast

On white

14.30
#261B6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#261B6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261B6F
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261B6F#FFFFFF#000000##FFFFFF
##261B6F1.0014.301.4714.30
#FFFFFF14.301.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D71
Deuteranopia (green-blind)
#00276D
Tritanopia (blue-blind)
#003243
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #261b6f;
/* rgb */ color: rgb(38, 27, 111);
/* oklch */ color: oklch(30.0% 0.137 280.2);
Tailwind
colors: {
  custom: {
    50: '#6b5999',
    500: '#261b6f',
    950: '#000000',
  },
}
SCSS
$custom: #261b6f;
$custom-light: #6b5999;
$custom-dark: #000000;
JSON
{
  "hex": "#261b6f",
  "rgb": {
    "r": 38,
    "g": 27,
    "b": 111
  },
  "hsl": {
    "h": 247.857,
    "s": 60.87,
    "l": 27.059
  },
  "oklch": {
    "l": 0.2999,
    "c": 0.13682,
    "h": 280.2
  },
  "luminance": 0.02344
}

Semantic roles & 50–950 ramp

primary
#261B6F
secondary
#97A442
accent
#E444CF
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #261B6F

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

Preview Lab → · Contrast checker → · Palette generator →

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