#261F76#261F76

#261F76 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.4% C 0.142 H 278.0°. Best body text is #FFFFFF at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#261F76
RGBrgb(38, 31, 118)
HSLhsl(245, 58%, 29%)
HSVhsv(245, 74%, 46%)
CMYKcmyk(67.8%, 73.7%, 0%, 53.7%)
CIE-LABlab(18.80, 31.67, -48.57)
CIE-LCHlch(18.80, 57.98, 303.10°)
OKLaboklab(31.35% 0.0197 -0.1402)
OKLCHoklch(31.35% 0.142 278)
XYZxyz(4.5583, 2.6997, 17.4169)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261F76 #6F761F
analogous
#1F4476 #261F76 #521F76
triadic
#261F76 #76261F #1F7626
tetradic
#261F76 #761F44 #6F761F #1F7652
square
#261F76 #761F44 #6F761F #1F7652
split-complementary
#261F76 #76521F #44761F
monochromatic
#080618 #161246 #261F76 #362CA6 #4D42CD

Accessibility & contrast

On white

13.64
#261F76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#261F76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261F76
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261F76#FFFFFF#000000##FFFFFF
##261F761.0013.641.5413.64
#FFFFFF13.641.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003179
Deuteranopia (green-blind)
#002A74
Tritanopia (blue-blind)
#003748
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #261f76;
/* rgb */ color: rgb(38, 31, 118);
/* oklch */ color: oklch(31.4% 0.142 278.0);
Tailwind
colors: {
  custom: {
    50: '#6c5c9e',
    500: '#261f76',
    950: '#000000',
  },
}
SCSS
$custom: #261f76;
$custom-light: #6c5c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#261f76",
  "rgb": {
    "r": 38,
    "g": 31,
    "b": 118
  },
  "hsl": {
    "h": 244.828,
    "s": 58.389,
    "l": 29.216
  },
  "oklch": {
    "l": 0.31352,
    "c": 0.14157,
    "h": 278
  },
  "luminance": 0.027
}

Semantic roles & 50–950 ramp

primary
#261F76
secondary
#A2AA47
accent
#E246D5
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08040E
muted
#7A797E

Preview Lab

Preview with #261F76

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

Preview Lab → · Contrast checker → · Palette generator →

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