#261F9D#261F9D

#261F9D is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.7% C 0.191 H 273.3°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#261F9D
RGBrgb(38, 31, 157)
HSLhsl(243, 67%, 37%)
HSVhsv(243, 80%, 62%)
CMYKcmyk(75.8%, 80.3%, 0%, 38.4%)
CIE-LABlab(23.09, 44.77, -65.92)
CIE-LCHlch(23.09, 79.68, 304.18°)
OKLaboklab(35.65% 0.011 -0.1907)
OKLCHoklch(35.65% 0.191 273.3)
XYZxyz(7.3731, 3.8256, 32.2416)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261F9D #969D1F
analogous
#1F579D #261F9D #651F9D
triadic
#261F9D #9D261F #1F9D26
tetradic
#261F9D #9D1F57 #969D1F #1F9D65
square
#261F9D #9D1F57 #969D1F #1F9D65
split-complementary
#261F9D #9D651F #579D1F
monochromatic
#0D0B37 #1A156A #261F9D #3229D0 #6058DE

Accessibility & contrast

On white

11.90
#261F9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #261F9D
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261F9D#FFFFFF#000000##FFFFFF
##261F9D1.0011.901.7711.90
#FFFFFF11.901.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA0
Deuteranopia (green-blind)
#00319B
Tritanopia (blue-blind)
#00465E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #261f9d;
/* rgb */ color: rgb(38, 31, 157);
/* oklch */ color: oklch(35.7% 0.191 273.3);
Tailwind
colors: {
  custom: {
    50: '#755ebb',
    500: '#261f9d',
    950: '#000000',
  },
}
SCSS
$custom: #261f9d;
$custom-light: #755ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#261f9d",
  "rgb": {
    "r": 38,
    "g": 31,
    "b": 157
  },
  "hsl": {
    "h": 243.333,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.35651,
    "c": 0.19103,
    "h": 273.3
  },
  "luminance": 0.03826
}

Semantic roles & 50–950 ramp

primary
#261F9D
secondary
#BCC256
accent
#EA3EE0
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #261F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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