#261F8A#261F8A

#261F8A is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.5% C 0.168 H 275.3°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#261F8A
RGBrgb(38, 31, 138)
HSLhsl(244, 63%, 33%)
HSVhsv(244, 78%, 54%)
CMYKcmyk(72.5%, 77.5%, 0%, 45.9%)
CIE-LABlab(20.93, 38.52, -57.73)
CIE-LCHlch(20.93, 69.40, 303.71°)
OKLaboklab(33.5% 0.0155 -0.1669)
OKLCHoklch(33.5% 0.168 275.3)
XYZxyz(5.8752, 3.2265, 24.3530)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261F8A #838A1F
analogous
#1F4D8A #261F8A #5B1F8A
triadic
#261F8A #8A261F #1F8A26
tetradic
#261F8A #8A1F4D #838A1F #1F8A5B
square
#261F8A #8A1F4D #838A1F #1F8A5B
split-complementary
#261F8A #8A5B1F #4D8A1F
monochromatic
#0A0926 #181458 #261F8A #342ABC #564CD7

Accessibility & contrast

On white

12.76
#261F8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#261F8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261F8A
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261F8A#FFFFFF#000000##FFFFFF
##261F8A1.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00378D
Deuteranopia (green-blind)
#002D88
Tritanopia (blue-blind)
#003E53
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #261f8a;
/* rgb */ color: rgb(38, 31, 138);
/* oklch */ color: oklch(33.5% 0.168 275.3);
Tailwind
colors: {
  custom: {
    50: '#715dad',
    500: '#261f8a',
    950: '#000000',
  },
}
SCSS
$custom: #261f8a;
$custom-light: #715dad;
$custom-dark: #000000;
JSON
{
  "hex": "#261f8a",
  "rgb": {
    "r": 38,
    "g": 31,
    "b": 138
  },
  "hsl": {
    "h": 243.925,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.33504,
    "c": 0.16765,
    "h": 275.3
  },
  "luminance": 0.03227
}

Semantic roles & 50–950 ramp

primary
#261F8A
secondary
#B2BA4B
accent
#E641DC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #261F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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