#262A38#262A38

#262A38 is a dark, muted blue. Relative luminance 0.024; OKLCH L 28.7% C 0.026 H 272.2°. Best body text is #FFFFFF at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#262A38
RGBrgb(38, 42, 56)
HSLhsl(227, 19%, 18%)
HSVhsv(227, 32%, 22%)
CMYKcmyk(32.1%, 25%, 0%, 78%)
CIE-LABlab(17.24, 2.19, -9.56)
CIE-LCHlch(17.24, 9.81, 282.88°)
OKLaboklab(28.73% 0.001 -0.0263)
OKLCHoklch(28.73% 0.026 272.2)
XYZxyz(2.3409, 2.3535, 4.0715)
Luminance0.0235 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262A38 #383426
analogous
#263338 #262A38 #2B2638
triadic
#262A38 #38262A #2A3826
tetradic
#262A38 #382633 #383426 #26382B
square
#262A38 #382633 #383426 #26382B
split-complementary
#262A38 #382B26 #333826
monochromatic
#0C0E12 #0D0F14 #262A38 #3F455C #576181

Accessibility & contrast

On white

14.28
#262A38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#262A38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262A38
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262A38#FFFFFF#000000##FFFFFF
##262A381.0014.281.4714.28
#FFFFFF14.281.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262B39
Deuteranopia (green-blind)
#242A38
Tritanopia (blue-blind)
#212D2F
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #262a38;
/* rgb */ color: rgb(38, 42, 56);
/* oklch */ color: oklch(28.7% 0.026 272.2);
Tailwind
colors: {
  custom: {
    50: '#60636e',
    500: '#262a38',
    950: '#000000',
  },
}
SCSS
$custom: #262a38;
$custom-light: #60636e;
$custom-dark: #000000;
JSON
{
  "hex": "#262a38",
  "rgb": {
    "r": 38,
    "g": 42,
    "b": 56
  },
  "hsl": {
    "h": 226.667,
    "s": 19.149,
    "l": 18.431
  },
  "oklch": {
    "l": 0.28734,
    "c": 0.02633,
    "h": 272.2
  },
  "luminance": 0.02354
}

Semantic roles & 50–950 ramp

primary
#262A38
secondary
#696450
accent
#AA6CBC
background
#F5F5F6
surface
#E9EAEB
border
#C5C6C6
text
#050507
muted
#79797A

Preview Lab

Preview with #262A38

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

Preview Lab → · Contrast checker → · Palette generator →

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