#261F54#261F54

#261F54 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 28.1% C 0.093 H 284.7°. Best body text is #FFFFFF at 14.93:1 contrast (WCAG AA passes).

Color values

HEX#261F54
RGBrgb(38, 31, 84)
HSLhsl(248, 46%, 23%)
HSVhsv(248, 63%, 33%)
CMYKcmyk(54.8%, 63.1%, 0%, 67.1%)
CIE-LABlab(15.65, 19.60, -31.32)
CIE-LCHlch(15.65, 36.95, 302.04°)
OKLaboklab(28.1% 0.0236 -0.0896)
OKLCHoklch(28.1% 0.093 284.7)
XYZxyz(2.8891, 2.0320, 8.6258)
Luminance0.0203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261F54 #4D541F
analogous
#1F3254 #261F54 #411F54
triadic
#261F54 #54261F #1F5426
tetradic
#261F54 #541F32 #4D541F #1F5441
square
#261F54 #541F32 #4D541F #1F5441
split-complementary
#261F54 #54411F #32541F
monochromatic
#0A0816 #120F27 #261F54 #3A2F81 #4E40AD

Accessibility & contrast

On white

14.93
#261F54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#261F54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261F54
14.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261F54#FFFFFF#000000##FFFFFF
##261F541.0014.931.4114.93
#FFFFFF14.931.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002956
Deuteranopia (green-blind)
#002553
Tritanopia (blue-blind)
#152B36
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #261f54;
/* rgb */ color: rgb(38, 31, 84);
/* oklch */ color: oklch(28.1% 0.093 284.7);
Tailwind
colors: {
  custom: {
    50: '#655b85',
    500: '#261f54',
    950: '#000000',
  },
}
SCSS
$custom: #261f54;
$custom-light: #655b85;
$custom-dark: #000000;
JSON
{
  "hex": "#261f54",
  "rgb": {
    "r": 38,
    "g": 31,
    "b": 84
  },
  "hsl": {
    "h": 247.925,
    "s": 46.087,
    "l": 22.549
  },
  "oklch": {
    "l": 0.28097,
    "c": 0.09263,
    "h": 284.7
  },
  "luminance": 0.02032
}

Semantic roles & 50–950 ramp

primary
#261F54
secondary
#808946
accent
#D652C4
background
#F6F5F8
surface
#EBE9EF
border
#C6C5CA
text
#06040B
muted
#7A797C

Preview Lab

Preview with #261F54

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

Preview Lab → · Contrast checker → · Palette generator →

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