#261F5C#261F5C

#261F5C is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.8% C 0.105 H 282.8°. Best body text is #FFFFFF at 14.65:1 contrast (WCAG AA passes).

Color values

HEX#261F5C
RGBrgb(38, 31, 92)
HSLhsl(247, 50%, 24%)
HSVhsv(247, 66%, 36%)
CMYKcmyk(58.7%, 66.3%, 0%, 63.9%)
CIE-LABlab(16.33, 22.45, -35.60)
CIE-LCHlch(16.33, 42.09, 302.23°)
OKLaboklab(28.8% 0.0232 -0.1022)
OKLCHoklch(28.8% 0.105 282.8)
XYZxyz(3.2205, 2.1646, 10.3712)
Luminance0.0216 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261F5C #555C1F
analogous
#1F375C #261F5C #451F5C
triadic
#261F5C #5C261F #1F5C26
tetradic
#261F5C #5C1F37 #555C1F #1F5C45
square
#261F5C #5C1F37 #555C1F #1F5C45
split-complementary
#261F5C #5C451F #375C1F
monochromatic
#090817 #13102E #261F5C #392E8A #4C3EB8

Accessibility & contrast

On white

14.65
#261F5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#261F5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261F5C
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261F5C#FFFFFF#000000##FFFFFF
##261F5C1.0014.651.4314.65
#FFFFFF14.651.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5E
Deuteranopia (green-blind)
#00265B
Tritanopia (blue-blind)
#0D2E3A
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #261f5c;
/* rgb */ color: rgb(38, 31, 92);
/* oklch */ color: oklch(28.8% 0.105 282.8);
Tailwind
colors: {
  custom: {
    50: '#665b8b',
    500: '#261f5c',
    950: '#000000',
  },
}
SCSS
$custom: #261f5c;
$custom-light: #665b8b;
$custom-dark: #000000;
JSON
{
  "hex": "#261f5c",
  "rgb": {
    "r": 38,
    "g": 31,
    "b": 92
  },
  "hsl": {
    "h": 246.885,
    "s": 49.593,
    "l": 24.118
  },
  "oklch": {
    "l": 0.28805,
    "c": 0.10478,
    "h": 282.8
  },
  "luminance": 0.02165
}

Semantic roles & 50–950 ramp

primary
#261F5C
secondary
#889146
accent
#D94FC9
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040C
muted
#7A797D

Preview Lab

Preview with #261F5C

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

Preview Lab → · Contrast checker → · Palette generator →

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