#261F56#261F56

#261F56 is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.3% C 0.096 H 284.2°. Best body text is #FFFFFF at 14.86:1 contrast (WCAG AA passes).

Color values

HEX#261F56
RGBrgb(38, 31, 86)
HSLhsl(248, 47%, 23%)
HSVhsv(248, 64%, 34%)
CMYKcmyk(55.8%, 64%, 0%, 66.3%)
CIE-LABlab(15.82, 20.31, -32.40)
CIE-LCHlch(15.82, 38.24, 302.08°)
OKLaboklab(28.27% 0.0235 -0.0928)
OKLCHoklch(28.27% 0.096 284.2)
XYZxyz(2.9685, 2.0638, 9.0442)
Luminance0.0206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261F56 #4F561F
analogous
#1F3356 #261F56 #411F56
triadic
#261F56 #56261F #1F5626
tetradic
#261F56 #561F33 #4F561F #1F5641
square
#261F56 #561F33 #4F561F #1F5641
split-complementary
#261F56 #56411F #33561F
monochromatic
#0A0816 #120F29 #261F56 #3A2F83 #4E3FB0

Accessibility & contrast

On white

14.86
#261F56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #261F56
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261F56#FFFFFF#000000##FFFFFF
##261F561.0014.861.4114.86
#FFFFFF14.861.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002958
Deuteranopia (green-blind)
#002655
Tritanopia (blue-blind)
#132C37
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #261f56;
/* rgb */ color: rgb(38, 31, 86);
/* oklch */ color: oklch(28.3% 0.096 284.2);
Tailwind
colors: {
  custom: {
    50: '#655b86',
    500: '#261f56',
    950: '#000000',
  },
}
SCSS
$custom: #261f56;
$custom-light: #655b86;
$custom-dark: #000000;
JSON
{
  "hex": "#261f56",
  "rgb": {
    "r": 38,
    "g": 31,
    "b": 86
  },
  "hsl": {
    "h": 247.636,
    "s": 47.009,
    "l": 22.941
  },
  "oklch": {
    "l": 0.2827,
    "c": 0.09571,
    "h": 284.2
  },
  "luminance": 0.02064
}

Semantic roles & 50–950 ramp

primary
#261F56
secondary
#828B46
accent
#D751C6
background
#F6F5F8
surface
#EBE9EF
border
#C6C5CA
text
#06040B
muted
#7A797C

Preview Lab

Preview with #261F56

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

Preview Lab → · Contrast checker → · Palette generator →

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