#261F4F#261F4F

#261F4F is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.7% C 0.085 H 286.1°. Best body text is #FFFFFF at 15.09:1 contrast (WCAG AA passes).

Color values

HEX#261F4F
RGBrgb(38, 31, 79)
HSLhsl(249, 44%, 22%)
HSVhsv(249, 61%, 31%)
CMYKcmyk(51.9%, 60.8%, 0%, 69%)
CIE-LABlab(15.26, 17.84, -28.57)
CIE-LCHlch(15.26, 33.68, 301.98°)
OKLaboklab(27.68% 0.0236 -0.0815)
OKLCHoklch(27.68% 0.085 286.1)
XYZxyz(2.7002, 1.9564, 7.6310)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261F4F #484F1F
analogous
#1F304F #261F4F #3E1F4F
triadic
#261F4F #4F261F #1F4F26
tetradic
#261F4F #4F1F30 #484F1F #1F4F3E
square
#261F4F #4F1F30 #484F1F #1F4F3E
split-complementary
#261F4F #4F3E1F #304F1F
monochromatic
#0B0916 #110E23 #261F4F #3B307B #5041A7

Accessibility & contrast

On white

15.09
#261F4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #261F4F
15.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261F4F#FFFFFF#000000##FFFFFF
##261F4F1.0015.091.3915.09
#FFFFFF15.091.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#042751
Deuteranopia (green-blind)
#04254E
Tritanopia (blue-blind)
#182A33
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #261f4f;
/* rgb */ color: rgb(38, 31, 79);
/* oklch */ color: oklch(27.7% 0.085 286.1);
Tailwind
colors: {
  custom: {
    50: '#645a81',
    500: '#261f4f',
    950: '#000000',
  },
}
SCSS
$custom: #261f4f;
$custom-light: #645a81;
$custom-dark: #000000;
JSON
{
  "hex": "#261f4f",
  "rgb": {
    "r": 38,
    "g": 31,
    "b": 79
  },
  "hsl": {
    "h": 248.75,
    "s": 43.636,
    "l": 21.569
  },
  "oklch": {
    "l": 0.27677,
    "c": 0.08483,
    "h": 286.1
  },
  "luminance": 0.01957
}

Semantic roles & 50–950 ramp

primary
#261F4F
secondary
#7B8446
accent
#D354C1
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#06040A
muted
#7A797C

Preview Lab

Preview with #261F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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