#261F59#261F59

#261F59 is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.5% C 0.100 H 283.5°. Best body text is #FFFFFF at 14.76:1 contrast (WCAG AA passes).

Color values

HEX#261F59
RGBrgb(38, 31, 89)
HSLhsl(247, 48%, 24%)
HSVhsv(247, 65%, 35%)
CMYKcmyk(57.3%, 65.2%, 0%, 65.1%)
CIE-LABlab(16.07, 21.38, -34.01)
CIE-LCHlch(16.07, 40.17, 302.15°)
OKLaboklab(28.54% 0.0234 -0.0975)
OKLCHoklch(28.54% 0.1 283.5)
XYZxyz(3.0919, 2.1131, 9.6942)
Luminance0.0211 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261F59 #52591F
analogous
#1F3559 #261F59 #431F59
triadic
#261F59 #59261F #1F5926
tetradic
#261F59 #591F35 #52591F #1F5943
square
#261F59 #591F35 #52591F #1F5943
split-complementary
#261F59 #59431F #35591F
monochromatic
#0A0817 #130F2C #261F59 #392F86 #4D3FB4

Accessibility & contrast

On white

14.76
#261F59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#261F59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261F59
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261F59#FFFFFF#000000##FFFFFF
##261F591.0014.761.4214.76
#FFFFFF14.761.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5B
Deuteranopia (green-blind)
#002658
Tritanopia (blue-blind)
#112D38
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #261f59;
/* rgb */ color: rgb(38, 31, 89);
/* oklch */ color: oklch(28.5% 0.100 283.5);
Tailwind
colors: {
  custom: {
    50: '#665b88',
    500: '#261f59',
    950: '#000000',
  },
}
SCSS
$custom: #261f59;
$custom-light: #665b88;
$custom-dark: #000000;
JSON
{
  "hex": "#261f59",
  "rgb": {
    "r": 38,
    "g": 31,
    "b": 89
  },
  "hsl": {
    "h": 247.241,
    "s": 48.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.28535,
    "c": 0.10027,
    "h": 283.5
  },
  "luminance": 0.02113
}

Semantic roles & 50–950 ramp

primary
#261F59
secondary
#858E46
accent
#D850C7
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040B
muted
#7A797C

Preview Lab

Preview with #261F59

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

Preview Lab → · Contrast checker → · Palette generator →

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