#261F9E#261F9E

#261F9E is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.8% C 0.192 H 273.2°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#261F9E
RGBrgb(38, 31, 158)
HSLhsl(243, 67%, 37%)
HSVhsv(243, 80%, 62%)
CMYKcmyk(75.9%, 80.4%, 0%, 38%)
CIE-LABlab(23.20, 45.09, -66.33)
CIE-LCHlch(23.20, 80.21, 304.20°)
OKLaboklab(35.77% 0.0108 -0.1919)
OKLCHoklch(35.77% 0.192 273.2)
XYZxyz(7.4588, 3.8599, 32.6931)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261F9E #979E1F
analogous
#1F589E #261F9E #661F9E
triadic
#261F9E #9E261F #1F9E26
tetradic
#261F9E #9E1F58 #979E1F #1F9E66
square
#261F9E #9E1F58 #979E1F #1F9E66
split-complementary
#261F9E #9E661F #589E1F
monochromatic
#0D0B38 #1A156B #261F9E #3229D1 #6059DE

Accessibility & contrast

On white

11.85
#261F9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#261F9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261F9E
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261F9E#FFFFFF#000000##FFFFFF
##261F9E1.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA2
Deuteranopia (green-blind)
#00319C
Tritanopia (blue-blind)
#00465F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #261f9e;
/* rgb */ color: rgb(38, 31, 158);
/* oklch */ color: oklch(35.8% 0.192 273.2);
Tailwind
colors: {
  custom: {
    50: '#765ebc',
    500: '#261f9e',
    950: '#000000',
  },
}
SCSS
$custom: #261f9e;
$custom-light: #765ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#261f9e",
  "rgb": {
    "r": 38,
    "g": 31,
    "b": 158
  },
  "hsl": {
    "h": 243.307,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.35767,
    "c": 0.19222,
    "h": 273.2
  },
  "luminance": 0.03861
}

Semantic roles & 50–950 ramp

primary
#261F9E
secondary
#BCC256
accent
#EA3EE1
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #261F9E

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

Preview Lab → · Contrast checker → · Palette generator →

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