#261F79#261F79

#261F79 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.7% C 0.146 H 277.5°. Best body text is #FFFFFF at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#261F79
RGBrgb(38, 31, 121)
HSLhsl(245, 59%, 30%)
HSVhsv(245, 74%, 47%)
CMYKcmyk(68.6%, 74.4%, 0%, 52.5%)
CIE-LABlab(19.11, 32.71, -49.99)
CIE-LCHlch(19.11, 59.74, 303.20°)
OKLaboklab(31.67% 0.0191 -0.1443)
OKLCHoklch(31.67% 0.146 277.5)
XYZxyz(4.7394, 2.7721, 18.3708)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261F79 #72791F
analogous
#1F4579 #261F79 #531F79
triadic
#261F79 #79261F #1F7926
tetradic
#261F79 #791F45 #72791F #1F7953
square
#261F79 #791F45 #72791F #1F7953
split-complementary
#261F79 #79531F #45791F
monochromatic
#080618 #171348 #261F79 #352BAA #4E43CF

Accessibility & contrast

On white

13.51
#261F79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#261F79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261F79
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261F79#FFFFFF#000000##FFFFFF
##261F791.0013.511.5513.51
#FFFFFF13.511.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327C
Deuteranopia (green-blind)
#002B77
Tritanopia (blue-blind)
#00384A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #261f79;
/* rgb */ color: rgb(38, 31, 121);
/* oklch */ color: oklch(31.7% 0.146 277.5);
Tailwind
colors: {
  custom: {
    50: '#6d5ca1',
    500: '#261f79',
    950: '#000000',
  },
}
SCSS
$custom: #261f79;
$custom-light: #6d5ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#261f79",
  "rgb": {
    "r": 38,
    "g": 31,
    "b": 121
  },
  "hsl": {
    "h": 244.667,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.31666,
    "c": 0.1456,
    "h": 277.5
  },
  "luminance": 0.02773
}

Semantic roles & 50–950 ramp

primary
#261F79
secondary
#A5AC47
accent
#E245D6
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#08040F
muted
#7B797F

Preview Lab

Preview with #261F79

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

Preview Lab → · Contrast checker → · Palette generator →

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