#262C36#262C36

#262C36 is a dark, muted blue. Relative luminance 0.025; OKLCH L 29.2% C 0.020 H 260.6°. Best body text is #FFFFFF at 14.04:1 contrast (WCAG AA passes).

Color values

HEX#262C36
RGBrgb(38, 44, 54)
HSLhsl(218, 17%, 18%)
HSVhsv(218, 30%, 21%)
CMYKcmyk(29.6%, 18.5%, 0%, 78.8%)
CIE-LABlab(17.83, 0.18, -7.28)
CIE-LCHlch(17.83, 7.29, 271.43°)
OKLaboklab(29.16% -0.0033 -0.0199)
OKLCHoklch(29.16% 0.02 260.6)
XYZxyz(2.3657, 2.4797, 3.8433)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262C36 #363026
analogous
#263436 #262C36 #282636
triadic
#262C36 #36262C #2C3626
tetradic
#262C36 #362634 #363026 #263628
square
#262C36 #362634 #363026 #263628
split-complementary
#262C36 #362826 #343626
monochromatic
#0D0F12 #0D0F12 #262C36 #3F495A #59677E

Accessibility & contrast

On white

14.04
#262C36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#262C36 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262C36
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262C36#FFFFFF#000000##FFFFFF
##262C361.0014.041.5014.04
#FFFFFF14.041.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292C36
Deuteranopia (green-blind)
#272B36
Tritanopia (blue-blind)
#222E2F
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #262c36;
/* rgb */ color: rgb(38, 44, 54);
/* oklch */ color: oklch(29.2% 0.020 260.6);
Tailwind
colors: {
  custom: {
    50: '#60656d',
    500: '#262c36',
    950: '#000000',
  },
}
SCSS
$custom: #262c36;
$custom-light: #60656d;
$custom-dark: #000000;
JSON
{
  "hex": "#262c36",
  "rgb": {
    "r": 38,
    "g": 44,
    "b": 54
  },
  "hsl": {
    "h": 217.5,
    "s": 17.391,
    "l": 18.039
  },
  "oklch": {
    "l": 0.29161,
    "c": 0.02019,
    "h": 260.6
  },
  "luminance": 0.0248
}

Semantic roles & 50–950 ramp

primary
#262C36
secondary
#675F51
accent
#9D6EBA
background
#F5F6F6
surface
#E9EBEB
border
#C5C6C6
text
#050507
muted
#797A7A

Preview Lab

Preview with #262C36

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

Preview Lab → · Contrast checker → · Palette generator →

#262C36 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva