#261F8B#261F8B

#261F8B is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.6% C 0.169 H 275.2°. Best body text is #FFFFFF at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#261F8B
RGBrgb(38, 31, 139)
HSLhsl(244, 64%, 33%)
HSVhsv(244, 78%, 55%)
CMYKcmyk(72.7%, 77.7%, 0%, 45.5%)
CIE-LABlab(21.04, 38.86, -58.17)
CIE-LCHlch(21.04, 69.96, 303.74°)
OKLaboklab(33.61% 0.0153 -0.1682)
OKLCHoklch(33.61% 0.169 275.2)
XYZxyz(5.9480, 3.2556, 24.7360)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261F8B #848B1F
analogous
#1F4E8B #261F8B #5C1F8B
triadic
#261F8B #8B261F #1F8B26
tetradic
#261F8B #8B1F4E #848B1F #1F8B5C
square
#261F8B #8B1F4E #848B1F #1F8B5C
split-complementary
#261F8B #8B5C1F #4E8B1F
monochromatic
#0B0927 #181459 #261F8B #342ABD #564DD7

Accessibility & contrast

On white

12.72
#261F8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #261F8B
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261F8B#FFFFFF#000000##FFFFFF
##261F8B1.0012.721.6512.72
#FFFFFF12.721.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00378E
Deuteranopia (green-blind)
#002E89
Tritanopia (blue-blind)
#003F54
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #261f8b;
/* rgb */ color: rgb(38, 31, 139);
/* oklch */ color: oklch(33.6% 0.169 275.2);
Tailwind
colors: {
  custom: {
    50: '#715dae',
    500: '#261f8b',
    950: '#000000',
  },
}
SCSS
$custom: #261f8b;
$custom-light: #715dae;
$custom-dark: #000000;
JSON
{
  "hex": "#261f8b",
  "rgb": {
    "r": 38,
    "g": 31,
    "b": 139
  },
  "hsl": {
    "h": 243.889,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.33614,
    "c": 0.1689,
    "h": 275.2
  },
  "luminance": 0.03256
}

Semantic roles & 50–950 ramp

primary
#261F8B
secondary
#B3BA4C
accent
#E741DC
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090410
muted
#7B797F

Preview Lab

Preview with #261F8B

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

Preview Lab → · Contrast checker → · Palette generator →

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