#261B63#261B63

#261B63 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.8% C 0.120 H 282.7°. Best body text is #FFFFFF at 14.79:1 contrast (WCAG AA passes).

Color values

HEX#261B63
RGBrgb(38, 27, 99)
HSLhsl(249, 57%, 25%)
HSVhsv(249, 73%, 39%)
CMYKcmyk(61.6%, 72.7%, 0%, 61.2%)
CIE-LABlab(15.99, 27.56, -40.81)
CIE-LCHlch(15.99, 49.24, 304.04°)
OKLaboklab(28.76% 0.0265 -0.1175)
OKLCHoklch(28.76% 0.12 282.7)
XYZxyz(3.4427, 2.0966, 12.0252)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261B63 #58631B
analogous
#1B3463 #261B63 #4A1B63
triadic
#261B63 #63261B #1B6326
tetradic
#261B63 #631B34 #58631B #1B634A
square
#261B63 #631B34 #58631B #1B634A
split-complementary
#261B63 #634A1B #34631B
monochromatic
#090718 #140E33 #261B63 #382893 #4B35C3

Accessibility & contrast

On white

14.79
#261B63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #261B63
14.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261B63#FFFFFF#000000##FFFFFF
##261B631.0014.791.4214.79
#FFFFFF14.791.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A65
Deuteranopia (green-blind)
#002562
Tritanopia (blue-blind)
#042E3C
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #261b63;
/* rgb */ color: rgb(38, 27, 99);
/* oklch */ color: oklch(28.8% 0.120 282.7);
Tailwind
colors: {
  custom: {
    50: '#685890',
    500: '#261b63',
    950: '#000000',
  },
}
SCSS
$custom: #261b63;
$custom-light: #685890;
$custom-dark: #000000;
JSON
{
  "hex": "#261b63",
  "rgb": {
    "r": 38,
    "g": 27,
    "b": 99
  },
  "hsl": {
    "h": 249.167,
    "s": 57.143,
    "l": 24.706
  },
  "oklch": {
    "l": 0.28757,
    "c": 0.12043,
    "h": 282.7
  },
  "luminance": 0.02097
}

Semantic roles & 50–950 ramp

primary
#261B63
secondary
#8B9841
accent
#E047C9
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#07030D
muted
#7A787D

Preview Lab

Preview with #261B63

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

Preview Lab → · Contrast checker → · Palette generator →

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