#261F8C#261F8C

#261F8C is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.7% C 0.170 H 275.1°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#261F8C
RGBrgb(38, 31, 140)
HSLhsl(244, 64%, 34%)
HSVhsv(244, 78%, 55%)
CMYKcmyk(72.9%, 77.9%, 0%, 45.1%)
CIE-LABlab(21.15, 39.19, -58.62)
CIE-LCHlch(21.15, 70.51, 303.77°)
OKLaboklab(33.73% 0.015 -0.1695)
OKLCHoklch(33.73% 0.17 275.1)
XYZxyz(6.0214, 3.2849, 25.1226)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261F8C #858C1F
analogous
#1F4E8C #261F8C #5C1F8C
triadic
#261F8C #8C261F #1F8C26
tetradic
#261F8C #8C1F4E #858C1F #1F8C5C
square
#261F8C #8C1F4E #858C1F #1F8C5C
split-complementary
#261F8C #8C5C1F #4E8C1F
monochromatic
#0B0928 #18145A #261F8C #342ABE #574ED8

Accessibility & contrast

On white

12.67
#261F8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#261F8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261F8C
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261F8C#FFFFFF#000000##FFFFFF
##261F8C1.0012.671.6612.67
#FFFFFF12.671.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388F
Deuteranopia (green-blind)
#002E8A
Tritanopia (blue-blind)
#003F54
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #261f8c;
/* rgb */ color: rgb(38, 31, 140);
/* oklch */ color: oklch(33.7% 0.170 275.1);
Tailwind
colors: {
  custom: {
    50: '#715daf',
    500: '#261f8c',
    950: '#000000',
  },
}
SCSS
$custom: #261f8c;
$custom-light: #715daf;
$custom-dark: #000000;
JSON
{
  "hex": "#261f8c",
  "rgb": {
    "r": 38,
    "g": 31,
    "b": 140
  },
  "hsl": {
    "h": 243.853,
    "s": 63.743,
    "l": 33.529
  },
  "oklch": {
    "l": 0.33726,
    "c": 0.17016,
    "h": 275.1
  },
  "luminance": 0.03285
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #261F8C

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

Preview Lab → · Contrast checker → · Palette generator →

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