#261B62#261B62

#261B62 is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.7% C 0.119 H 283.0°. Best body text is #FFFFFF at 14.83:1 contrast (WCAG AA passes).

Color values

HEX#261B62
RGBrgb(38, 27, 98)
HSLhsl(249, 57%, 25%)
HSVhsv(249, 72%, 38%)
CMYKcmyk(61.2%, 72.4%, 0%, 61.6%)
CIE-LABlab(15.89, 27.22, -40.30)
CIE-LCHlch(15.89, 48.63, 304.03°)
OKLaboklab(28.66% 0.0267 -0.116)
OKLCHoklch(28.66% 0.119 283)
XYZxyz(3.3952, 2.0776, 11.7750)
Luminance0.0208 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261B62 #57621B
analogous
#1B3462 #261B62 #4A1B62
triadic
#261B62 #62261B #1B6226
tetradic
#261B62 #621B34 #57621B #1B624A
square
#261B62 #621B34 #57621B #1B624A
split-complementary
#261B62 #624A1B #34621B
monochromatic
#090718 #130E32 #261B62 #392892 #4B35C2

Accessibility & contrast

On white

14.83
#261B62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#261B62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261B62
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261B62#FFFFFF#000000##FFFFFF
##261B621.0014.831.4214.83
#FFFFFF14.831.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A64
Deuteranopia (green-blind)
#002561
Tritanopia (blue-blind)
#052D3C
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #261b62;
/* rgb */ color: rgb(38, 27, 98);
/* oklch */ color: oklch(28.7% 0.119 283.0);
Tailwind
colors: {
  custom: {
    50: '#68588f',
    500: '#261b62',
    950: '#000000',
  },
}
SCSS
$custom: #261b62;
$custom-light: #68588f;
$custom-dark: #000000;
JSON
{
  "hex": "#261b62",
  "rgb": {
    "r": 38,
    "g": 27,
    "b": 98
  },
  "hsl": {
    "h": 249.296,
    "s": 56.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.28658,
    "c": 0.11902,
    "h": 283
  },
  "luminance": 0.02078
}

Semantic roles & 50–950 ramp

primary
#261B62
secondary
#8A9841
accent
#E048C8
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#07030C
muted
#7A787D

Preview Lab

Preview with #261B62

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

Preview Lab → · Contrast checker → · Palette generator →

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