#261F99#261F99

#261F99 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.2% C 0.186 H 273.7°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#261F99
RGBrgb(38, 31, 153)
HSLhsl(243, 66%, 36%)
HSVhsv(243, 80%, 60%)
CMYKcmyk(75.2%, 79.7%, 0%, 40%)
CIE-LABlab(22.62, 43.47, -64.23)
CIE-LCHlch(22.62, 77.56, 304.09°)
OKLaboklab(35.19% 0.012 -0.1858)
OKLCHoklch(35.19% 0.186 273.7)
XYZxyz(7.0372, 3.6912, 30.4724)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261F99 #92991F
analogous
#1F5599 #261F99 #631F99
triadic
#261F99 #99261F #1F9926
tetradic
#261F99 #991F55 #92991F #1F9963
square
#261F99 #991F55 #92991F #1F9963
split-complementary
#261F99 #99631F #55991F
monochromatic
#0D0A33 #191566 #261F99 #3329CC #5D56DD

Accessibility & contrast

On white

12.08
#261F99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#261F99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261F99
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261F99#FFFFFF#000000##FFFFFF
##261F991.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C9C
Deuteranopia (green-blind)
#003097
Tritanopia (blue-blind)
#00445C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #261f99;
/* rgb */ color: rgb(38, 31, 153);
/* oklch */ color: oklch(35.2% 0.186 273.7);
Tailwind
colors: {
  custom: {
    50: '#745eb8',
    500: '#261f99',
    950: '#000000',
  },
}
SCSS
$custom: #261f99;
$custom-light: #745eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#261f99",
  "rgb": {
    "r": 38,
    "g": 31,
    "b": 153
  },
  "hsl": {
    "h": 243.443,
    "s": 66.304,
    "l": 36.078
  },
  "oklch": {
    "l": 0.35193,
    "c": 0.18621,
    "h": 273.7
  },
  "luminance": 0.03692
}

Semantic roles & 50–950 ramp

primary
#261F99
secondary
#BAC054
accent
#E93FDF
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #261F99

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

Preview Lab → · Contrast checker → · Palette generator →

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