#261F50#261F50

#261F50 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.8% C 0.086 H 285.8°. Best body text is #FFFFFF at 15.06:1 contrast (WCAG AA passes).

Color values

HEX#261F50
RGBrgb(38, 31, 80)
HSLhsl(249, 44%, 22%)
HSVhsv(249, 61%, 31%)
CMYKcmyk(52.5%, 61.2%, 0%, 68.6%)
CIE-LABlab(15.33, 18.19, -29.12)
CIE-LCHlch(15.33, 34.34, 301.99°)
OKLaboklab(27.76% 0.0236 -0.0831)
OKLCHoklch(27.76% 0.086 285.8)
XYZxyz(2.7369, 1.9711, 7.8241)
Luminance0.0197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261F50 #49501F
analogous
#1F3150 #261F50 #3F1F50
triadic
#261F50 #50261F #1F5026
tetradic
#261F50 #501F31 #49501F #1F503F
square
#261F50 #501F31 #49501F #1F503F
split-complementary
#261F50 #503F1F #31501F
monochromatic
#0A0916 #110E24 #261F50 #3B307C #5041A8

Accessibility & contrast

On white

15.06
#261F50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #261F50
15.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261F50#FFFFFF#000000##FFFFFF
##261F501.0015.061.3915.06
#FFFFFF15.061.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032852
Deuteranopia (green-blind)
#02254F
Tritanopia (blue-blind)
#182A34
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #261f50;
/* rgb */ color: rgb(38, 31, 80);
/* oklch */ color: oklch(27.8% 0.086 285.8);
Tailwind
colors: {
  custom: {
    50: '#645a81',
    500: '#261f50',
    950: '#000000',
  },
}
SCSS
$custom: #261f50;
$custom-light: #645a81;
$custom-dark: #000000;
JSON
{
  "hex": "#261f50",
  "rgb": {
    "r": 38,
    "g": 31,
    "b": 80
  },
  "hsl": {
    "h": 248.571,
    "s": 44.144,
    "l": 21.765
  },
  "oklch": {
    "l": 0.2776,
    "c": 0.0864,
    "h": 285.8
  },
  "luminance": 0.01971
}

Semantic roles & 50–950 ramp

primary
#261F50
secondary
#7C8546
accent
#D454C2
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#06040A
muted
#7A797C

Preview Lab

Preview with #261F50

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

Preview Lab → · Contrast checker → · Palette generator →

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