#262C38#262C38

#262C38 is a dark, muted blue. Relative luminance 0.025; OKLCH L 29.3% C 0.024 H 264.1°. Best body text is #FFFFFF at 14.00:1 contrast (WCAG AA passes).

Color values

HEX#262C38
RGBrgb(38, 44, 56)
HSLhsl(220, 19%, 18%)
HSVhsv(220, 32%, 22%)
CMYKcmyk(32.1%, 21.4%, 0%, 78%)
CIE-LABlab(17.91, 0.79, -8.54)
CIE-LCHlch(17.91, 8.58, 275.25°)
OKLaboklab(29.26% -0.0024 -0.0234)
OKLCHoklch(29.26% 0.024 264.1)
XYZxyz(2.4136, 2.4989, 4.0958)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262C38 #383226
analogous
#263538 #262C38 #292638
triadic
#262C38 #38262C #2C3826
tetradic
#262C38 #382635 #383226 #263829
square
#262C38 #382635 #383226 #263829
split-complementary
#262C38 #382926 #353826
monochromatic
#0C0E12 #0D0F14 #262C38 #3F495C #576581

Accessibility & contrast

On white

14.00
#262C38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #262C38
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262C38#FFFFFF#000000##FFFFFF
##262C381.0014.001.5014.00
#FFFFFF14.001.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282D39
Deuteranopia (green-blind)
#262B38
Tritanopia (blue-blind)
#212E30
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #262c38;
/* rgb */ color: rgb(38, 44, 56);
/* oklch */ color: oklch(29.3% 0.024 264.1);
Tailwind
colors: {
  custom: {
    50: '#60656e',
    500: '#262c38',
    950: '#000000',
  },
}
SCSS
$custom: #262c38;
$custom-light: #60656e;
$custom-dark: #000000;
JSON
{
  "hex": "#262c38",
  "rgb": {
    "r": 38,
    "g": 44,
    "b": 56
  },
  "hsl": {
    "h": 220,
    "s": 19.149,
    "l": 18.431
  },
  "oklch": {
    "l": 0.29258,
    "c": 0.02356,
    "h": 264.1
  },
  "luminance": 0.02499
}

Semantic roles & 50–950 ramp

primary
#262C38
secondary
#696150
accent
#A16CBC
background
#F5F6F6
surface
#E9EBEB
border
#C5C6C6
text
#050507
muted
#797A7A

Preview Lab

Preview with #262C38

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

Preview Lab → · Contrast checker → · Palette generator →

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