#261F7E#261F7E

#261F7E is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.2% C 0.152 H 276.8°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#261F7E
RGBrgb(38, 31, 126)
HSLhsl(244, 61%, 31%)
HSVhsv(244, 75%, 49%)
CMYKcmyk(69.8%, 75.4%, 0%, 50.6%)
CIE-LABlab(19.63, 34.44, -52.31)
CIE-LCHlch(19.63, 62.63, 303.36°)
OKLaboklab(32.2% 0.0181 -0.1511)
OKLCHoklch(32.2% 0.152 276.8)
XYZxyz(5.0540, 2.8980, 20.0276)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261F7E #777E1F
analogous
#1F477E #261F7E #551F7E
triadic
#261F7E #7E261F #1F7E26
tetradic
#261F7E #7E1F47 #777E1F #1F7E55
square
#261F7E #7E1F47 #777E1F #1F7E55
split-complementary
#261F7E #7E551F #477E1F
monochromatic
#08071C #17134D #261F7E #352BAF #5046D1

Accessibility & contrast

On white

13.29
#261F7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#261F7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261F7E
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261F7E#FFFFFF#000000##FFFFFF
##261F7E1.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003381
Deuteranopia (green-blind)
#002B7C
Tritanopia (blue-blind)
#003A4C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #261f7e;
/* rgb */ color: rgb(38, 31, 126);
/* oklch */ color: oklch(32.2% 0.152 276.8);
Tailwind
colors: {
  custom: {
    50: '#6e5ca4',
    500: '#261f7e',
    950: '#000000',
  },
}
SCSS
$custom: #261f7e;
$custom-light: #6e5ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#261f7e",
  "rgb": {
    "r": 38,
    "g": 31,
    "b": 126
  },
  "hsl": {
    "h": 244.421,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.32197,
    "c": 0.15221,
    "h": 276.8
  },
  "luminance": 0.02898
}

Semantic roles & 50–950 ramp

primary
#261F7E
secondary
#A9B148
accent
#E444D8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #261F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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