#261F4E#261F4E

#261F4E is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.6% C 0.083 H 286.4°. Best body text is #FFFFFF at 15.13:1 contrast (WCAG AA passes).

Color values

HEX#261F4E
RGBrgb(38, 31, 78)
HSLhsl(249, 43%, 21%)
HSVhsv(249, 60%, 31%)
CMYKcmyk(51.3%, 60.3%, 0%, 69.4%)
CIE-LABlab(15.18, 17.49, -28.01)
CIE-LCHlch(15.18, 33.02, 301.98°)
OKLaboklab(27.6% 0.0235 -0.0798)
OKLCHoklch(27.6% 0.083 286.4)
XYZxyz(2.6641, 1.9420, 7.4407)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261F4E #474E1F
analogous
#1F304E #261F4E #3E1F4E
triadic
#261F4E #4E261F #1F4E26
tetradic
#261F4E #4E1F30 #474E1F #1F4E3E
square
#261F4E #4E1F30 #474E1F #1F4E3E
split-complementary
#261F4E #4E3E1F #304E1F
monochromatic
#0B0916 #110E22 #261F4E #3B307A #5142A6

Accessibility & contrast

On white

15.13
#261F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#261F4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261F4E
15.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261F4E#FFFFFF#000000##FFFFFF
##261F4E1.0015.131.3915.13
#FFFFFF15.131.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062750
Deuteranopia (green-blind)
#05254D
Tritanopia (blue-blind)
#192933
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #261f4e;
/* rgb */ color: rgb(38, 31, 78);
/* oklch */ color: oklch(27.6% 0.083 286.4);
Tailwind
colors: {
  custom: {
    50: '#645a80',
    500: '#261f4e',
    950: '#000000',
  },
}
SCSS
$custom: #261f4e;
$custom-light: #645a80;
$custom-dark: #000000;
JSON
{
  "hex": "#261f4e",
  "rgb": {
    "r": 38,
    "g": 31,
    "b": 78
  },
  "hsl": {
    "h": 248.936,
    "s": 43.119,
    "l": 21.373
  },
  "oklch": {
    "l": 0.27595,
    "c": 0.08323,
    "h": 286.4
  },
  "luminance": 0.01942
}

Semantic roles & 50–950 ramp

primary
#261F4E
secondary
#7A8346
accent
#D355C0
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#06040A
muted
#7A797C

Preview Lab

Preview with #261F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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