#261F8E#261F8E

#261F8E is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.9% C 0.173 H 274.8°. Best body text is #FFFFFF at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#261F8E
RGBrgb(38, 31, 142)
HSLhsl(244, 64%, 34%)
HSVhsv(244, 78%, 56%)
CMYKcmyk(73.2%, 78.2%, 0%, 44.3%)
CIE-LABlab(21.37, 39.86, -59.49)
CIE-LCHlch(21.37, 71.61, 303.82°)
OKLaboklab(33.95% 0.0146 -0.172)
OKLCHoklch(33.95% 0.173 274.8)
XYZxyz(6.1702, 3.3444, 25.9063)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261F8E #878E1F
analogous
#1F508E #261F8E #5E1F8E
triadic
#261F8E #8E261F #1F8E26
tetradic
#261F8E #8E1F50 #878E1F #1F8E5E
square
#261F8E #8E1F50 #878E1F #1F8E5E
split-complementary
#261F8E #8E5E1F #508E1F
monochromatic
#0B092A #19145C #261F8E #332AC0 #584FD9

Accessibility & contrast

On white

12.58
#261F8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#261F8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261F8E
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261F8E#FFFFFF#000000##FFFFFF
##261F8E1.0012.581.6712.58
#FFFFFF12.581.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003891
Deuteranopia (green-blind)
#002E8C
Tritanopia (blue-blind)
#004055
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #261f8e;
/* rgb */ color: rgb(38, 31, 142);
/* oklch */ color: oklch(33.9% 0.173 274.8);
Tailwind
colors: {
  custom: {
    50: '#725db0',
    500: '#261f8e',
    950: '#000000',
  },
}
SCSS
$custom: #261f8e;
$custom-light: #725db0;
$custom-dark: #000000;
JSON
{
  "hex": "#261f8e",
  "rgb": {
    "r": 38,
    "g": 31,
    "b": 142
  },
  "hsl": {
    "h": 243.784,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.33949,
    "c": 0.17266,
    "h": 274.8
  },
  "luminance": 0.03345
}

Semantic roles & 50–950 ramp

primary
#261F8E
secondary
#B5BB4D
accent
#E741DD
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #261F8E

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

Preview Lab → · Contrast checker → · Palette generator →

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