#261F77#261F77

#261F77 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.5% C 0.143 H 277.8°. Best body text is #FFFFFF at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#261F77
RGBrgb(38, 31, 119)
HSLhsl(245, 59%, 29%)
HSVhsv(245, 74%, 47%)
CMYKcmyk(68.1%, 73.9%, 0%, 53.3%)
CIE-LABlab(18.90, 32.01, -49.04)
CIE-LCHlch(18.90, 58.57, 303.13°)
OKLaboklab(31.46% 0.0195 -0.1416)
OKLCHoklch(31.46% 0.143 277.8)
XYZxyz(4.6180, 2.7236, 17.7315)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261F77 #70771F
analogous
#1F4477 #261F77 #521F77
triadic
#261F77 #77261F #1F7726
tetradic
#261F77 #771F44 #70771F #1F7752
square
#261F77 #771F44 #70771F #1F7752
split-complementary
#261F77 #77521F #44771F
monochromatic
#080618 #161246 #261F77 #362CA8 #4E43CE

Accessibility & contrast

On white

13.59
#261F77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #261F77
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261F77#FFFFFF#000000##FFFFFF
##261F771.0013.591.5413.59
#FFFFFF13.591.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317A
Deuteranopia (green-blind)
#002A75
Tritanopia (blue-blind)
#003748
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #261f77;
/* rgb */ color: rgb(38, 31, 119);
/* oklch */ color: oklch(31.5% 0.143 277.8);
Tailwind
colors: {
  custom: {
    50: '#6c5c9f',
    500: '#261f77',
    950: '#000000',
  },
}
SCSS
$custom: #261f77;
$custom-light: #6c5c9f;
$custom-dark: #000000;
JSON
{
  "hex": "#261f77",
  "rgb": {
    "r": 38,
    "g": 31,
    "b": 119
  },
  "hsl": {
    "h": 244.773,
    "s": 58.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.31457,
    "c": 0.14293,
    "h": 277.8
  },
  "luminance": 0.02724
}

Semantic roles & 50–950 ramp

primary
#261F77
secondary
#A3AB47
accent
#E246D5
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08040F
muted
#7A797E

Preview Lab

Preview with #261F77

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

Preview Lab → · Contrast checker → · Palette generator →

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