#261B74#261B74

#261B74 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.5% C 0.143 H 279.2°. Best body text is #FFFFFF at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#261B74
RGBrgb(38, 27, 116)
HSLhsl(247, 62%, 28%)
HSVhsv(247, 77%, 45%)
CMYKcmyk(67.2%, 76.7%, 0%, 54.5%)
CIE-LABlab(17.72, 33.40, -49.06)
CIE-LCHlch(17.72, 59.35, 304.25°)
OKLaboklab(30.52% 0.023 -0.1416)
OKLCHoklch(30.52% 0.143 279.2)
XYZxyz(4.3426, 2.4565, 16.7649)
Luminance0.0246 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261B74 #69741B
analogous
#1B3C74 #261B74 #521B74
triadic
#261B74 #74261B #1B7426
tetradic
#261B74 #741B3C #69741B #1B7452
square
#261B74 #741B3C #69741B #1B7452
split-complementary
#261B74 #74521B #3C741B
monochromatic
#080619 #160F42 #261B74 #3627A6 #4B39D1

Accessibility & contrast

On white

14.08
#261B74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#261B74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261B74
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261B74#FFFFFF#000000##FFFFFF
##261B741.0014.081.4914.08
#FFFFFF14.081.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F77
Deuteranopia (green-blind)
#002872
Tritanopia (blue-blind)
#003446
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #261b74;
/* rgb */ color: rgb(38, 27, 116);
/* oklch */ color: oklch(30.5% 0.143 279.2);
Tailwind
colors: {
  custom: {
    50: '#6c599d',
    500: '#261b74',
    950: '#000000',
  },
}
SCSS
$custom: #261b74;
$custom-light: #6c599d;
$custom-dark: #000000;
JSON
{
  "hex": "#261b74",
  "rgb": {
    "r": 38,
    "g": 27,
    "b": 116
  },
  "hsl": {
    "h": 247.416,
    "s": 62.238,
    "l": 28.039
  },
  "oklch": {
    "l": 0.30522,
    "c": 0.14345,
    "h": 279.2
  },
  "luminance": 0.02457
}

Semantic roles & 50–950 ramp

primary
#261B74
secondary
#9CA942
accent
#E542D1
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030E
muted
#7A787E

Preview Lab

Preview with #261B74

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

Preview Lab → · Contrast checker → · Palette generator →

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