#261F4C#261F4C

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

Color values

HEX#261F4C
RGBrgb(38, 31, 76)
HSLhsl(249, 42%, 21%)
HSVhsv(249, 59%, 30%)
CMYKcmyk(50%, 59.2%, 0%, 70.2%)
CIE-LABlab(15.03, 16.79, -26.89)
CIE-LCHlch(15.03, 31.70, 301.98°)
OKLaboklab(27.43% 0.0234 -0.0765)
OKLCHoklch(27.43% 0.08 287)
XYZxyz(2.5934, 1.9137, 7.0688)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261F4C #454C1F
analogous
#1F2E4C #261F4C #3C1F4C
triadic
#261F4C #4C261F #1F4C26
tetradic
#261F4C #4C1F2E #454C1F #1F4C3C
square
#261F4C #4C1F2E #454C1F #1F4C3C
split-complementary
#261F4C #4C3C1F #2E4C1F
monochromatic
#0B0916 #100D21 #261F4C #3C3177 #5142A3

Accessibility & contrast

On white

15.19
#261F4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #261F4C
15.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261F4C#FFFFFF#000000##FFFFFF
##261F4C1.0015.191.3815.19
#FFFFFF15.191.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08274E
Deuteranopia (green-blind)
#08254B
Tritanopia (blue-blind)
#1A2932
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #261f4c;
/* rgb */ color: rgb(38, 31, 76);
/* oklch */ color: oklch(27.4% 0.080 287.0);
Tailwind
colors: {
  custom: {
    50: '#635a7e',
    500: '#261f4c',
    950: '#000000',
  },
}
SCSS
$custom: #261f4c;
$custom-light: #635a7e;
$custom-dark: #000000;
JSON
{
  "hex": "#261f4c",
  "rgb": {
    "r": 38,
    "g": 31,
    "b": 76
  },
  "hsl": {
    "h": 249.333,
    "s": 42.056,
    "l": 20.98
  },
  "oklch": {
    "l": 0.27433,
    "c": 0.08005,
    "h": 287
  },
  "luminance": 0.01914
}

Semantic roles & 50–950 ramp

primary
#261F4C
secondary
#788146
accent
#D256BF
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#05040A
muted
#7A797C

Preview Lab

Preview with #261F4C

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

Preview Lab → · Contrast checker → · Palette generator →

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