#261F71#261F71

#261F71 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.8% C 0.135 H 278.8°. Best body text is #FFFFFF at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#261F71
RGBrgb(38, 31, 113)
HSLhsl(245, 57%, 28%)
HSVhsv(245, 73%, 44%)
CMYKcmyk(66.4%, 72.6%, 0%, 55.7%)
CIE-LABlab(18.29, 29.91, -46.18)
CIE-LCHlch(18.29, 55.02, 302.93°)
OKLaboklab(30.84% 0.0206 -0.1332)
OKLCHoklch(30.84% 0.135 278.8)
XYZxyz(4.2690, 2.5840, 15.8934)
Luminance0.0258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261F71 #6A711F
analogous
#1F4171 #261F71 #4F1F71
triadic
#261F71 #71261F #1F7126
tetradic
#261F71 #711F41 #6A711F #1F714F
square
#261F71 #711F41 #6A711F #1F714F
split-complementary
#261F71 #714F1F #41711F
monochromatic
#080718 #161241 #261F71 #362CA1 #4C40CB

Accessibility & contrast

On white

13.84
#261F71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#261F71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261F71
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261F71#FFFFFF#000000##FFFFFF
##261F711.0013.841.5213.84
#FFFFFF13.841.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003073
Deuteranopia (green-blind)
#00296F
Tritanopia (blue-blind)
#003545
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #261f71;
/* rgb */ color: rgb(38, 31, 113);
/* oklch */ color: oklch(30.8% 0.135 278.8);
Tailwind
colors: {
  custom: {
    50: '#6b5b9b',
    500: '#261f71',
    950: '#000000',
  },
}
SCSS
$custom: #261f71;
$custom-light: #6b5b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#261f71",
  "rgb": {
    "r": 38,
    "g": 31,
    "b": 113
  },
  "hsl": {
    "h": 245.122,
    "s": 56.944,
    "l": 28.235
  },
  "oklch": {
    "l": 0.30837,
    "c": 0.13478,
    "h": 278.8
  },
  "luminance": 0.02584
}

Semantic roles & 50–950 ramp

primary
#261F71
secondary
#9DA547
accent
#E048D3
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #261F71

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

Preview Lab → · Contrast checker → · Palette generator →

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