#261F9A#261F9A

#261F9A is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.3% C 0.187 H 273.6°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#261F9A
RGBrgb(38, 31, 154)
HSLhsl(243, 66%, 36%)
HSVhsv(243, 80%, 60%)
CMYKcmyk(75.3%, 79.9%, 0%, 39.6%)
CIE-LABlab(22.74, 43.80, -64.65)
CIE-LCHlch(22.74, 78.09, 304.12°)
OKLaboklab(35.31% 0.0117 -0.187)
OKLCHoklch(35.31% 0.187 273.6)
XYZxyz(7.1201, 3.7244, 30.9092)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261F9A #939A1F
analogous
#1F569A #261F9A #641F9A
triadic
#261F9A #9A261F #1F9A26
tetradic
#261F9A #9A1F56 #939A1F #1F9A64
square
#261F9A #9A1F56 #939A1F #1F9A64
split-complementary
#261F9A #9A641F #569A1F
monochromatic
#0D0A34 #191567 #261F9A #3329CD #5E56DD

Accessibility & contrast

On white

12.03
#261F9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#261F9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261F9A
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261F9A#FFFFFF#000000##FFFFFF
##261F9A1.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C9D
Deuteranopia (green-blind)
#003098
Tritanopia (blue-blind)
#00455C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #261f9a;
/* rgb */ color: rgb(38, 31, 154);
/* oklch */ color: oklch(35.3% 0.187 273.6);
Tailwind
colors: {
  custom: {
    50: '#755eb9',
    500: '#261f9a',
    950: '#000000',
  },
}
SCSS
$custom: #261f9a;
$custom-light: #755eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#261f9a",
  "rgb": {
    "r": 38,
    "g": 31,
    "b": 154
  },
  "hsl": {
    "h": 243.415,
    "s": 66.486,
    "l": 36.275
  },
  "oklch": {
    "l": 0.35307,
    "c": 0.18741,
    "h": 273.6
  },
  "luminance": 0.03725
}

Semantic roles & 50–950 ramp

primary
#261F9A
secondary
#BAC154
accent
#E93EE0
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #261F9A

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

Preview Lab → · Contrast checker → · Palette generator →

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