#261F4B#261F4B

#261F4B is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.4% C 0.078 H 287.3°. Best body text is #FFFFFF at 15.22:1 contrast (WCAG AA passes).

Color values

HEX#261F4B
RGBrgb(38, 31, 75)
HSLhsl(250, 42%, 21%)
HSVhsv(250, 59%, 29%)
CMYKcmyk(49.3%, 58.7%, 0%, 70.6%)
CIE-LABlab(14.95, 16.44, -26.32)
CIE-LCHlch(14.95, 31.03, 301.99°)
OKLaboklab(27.35% 0.0234 -0.0749)
OKLCHoklch(27.35% 0.078 287.3)
XYZxyz(2.5590, 1.8999, 6.8871)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261F4B #444B1F
analogous
#1F2E4B #261F4B #3C1F4B
triadic
#261F4B #4B261F #1F4B26
tetradic
#261F4B #4B1F2E #444B1F #1F4B3C
square
#261F4B #4B1F2E #444B1F #1F4B3C
split-complementary
#261F4B #4B3C1F #2E4B1F
monochromatic
#0B0916 #100D20 #261F4B #3C3176 #5243A2

Accessibility & contrast

On white

15.22
#261F4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#261F4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261F4B
15.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261F4B#FFFFFF#000000##FFFFFF
##261F4B1.0015.221.3815.22
#FFFFFF15.221.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A274D
Deuteranopia (green-blind)
#09244A
Tritanopia (blue-blind)
#1B2831
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #261f4b;
/* rgb */ color: rgb(38, 31, 75);
/* oklch */ color: oklch(27.4% 0.078 287.3);
Tailwind
colors: {
  custom: {
    50: '#635a7d',
    500: '#261f4b',
    950: '#000000',
  },
}
SCSS
$custom: #261f4b;
$custom-light: #635a7d;
$custom-dark: #000000;
JSON
{
  "hex": "#261f4b",
  "rgb": {
    "r": 38,
    "g": 31,
    "b": 75
  },
  "hsl": {
    "h": 249.545,
    "s": 41.509,
    "l": 20.784
  },
  "oklch": {
    "l": 0.27354,
    "c": 0.07845,
    "h": 287.3
  },
  "luminance": 0.019
}

Semantic roles & 50–950 ramp

primary
#261F4B
secondary
#768046
accent
#D156BE
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#05040A
muted
#7A797C

Preview Lab

Preview with #261F4B

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

Preview Lab → · Contrast checker → · Palette generator →

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