#262A30#262A30

#262A30 is a dark, near-neutral blue. Relative luminance 0.023; OKLCH L 28.4% C 0.012 H 258.4°. Best body text is #FFFFFF at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#262A30
RGBrgb(38, 42, 48)
HSLhsl(216, 12%, 17%)
HSVhsv(216, 21%, 19%)
CMYKcmyk(20.8%, 12.5%, 0%, 81.2%)
CIE-LABlab(16.90, -0.17, -4.49)
CIE-LCHlch(16.90, 4.50, 267.86°)
OKLaboklab(28.35% -0.0025 -0.0122)
OKLCHoklch(28.35% 0.012 258.4)
XYZxyz(2.1607, 2.2814, 3.1222)
Luminance0.0228 (WCAG relative)
Temperatureneutral
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262A30 #302C26
analogous
#262F30 #262A30 #272630
triadic
#262A30 #30262A #2A3026
tetradic
#262A30 #30262F #302C26 #263027
square
#262A30 #30262F #302C26 #263027
split-complementary
#262A30 #302726 #2F3026
monochromatic
#0E0F11 #0E0F11 #262A30 #414852 #5C6674

Accessibility & contrast

On white

14.42
#262A30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#262A30 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262A30
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262A30#FFFFFF#000000##FFFFFF
##262A301.0014.421.4614.42
#FFFFFF14.421.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282A30
Deuteranopia (green-blind)
#272930
Tritanopia (blue-blind)
#242B2C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #262a30;
/* rgb */ color: rgb(38, 42, 48);
/* oklch */ color: oklch(28.4% 0.012 258.4);
Tailwind
colors: {
  custom: {
    50: '#606368',
    500: '#262a30',
    950: '#000000',
  },
}
SCSS
$custom: #262a30;
$custom-light: #606368;
$custom-dark: #000000;
JSON
{
  "hex": "#262a30",
  "rgb": {
    "r": 38,
    "g": 42,
    "b": 48
  },
  "hsl": {
    "h": 216,
    "s": 11.628,
    "l": 16.863
  },
  "oklch": {
    "l": 0.28352,
    "c": 0.01242,
    "h": 258.4
  },
  "luminance": 0.02281
}

Semantic roles & 50–950 ramp

primary
#262A30
secondary
#605A52
accent
#9A73B5
background
#F5F5F6
surface
#E9EAEB
border
#C5C6C6
text
#040506
muted
#79797A

Preview Lab

Preview with #262A30

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

Preview Lab → · Contrast checker → · Palette generator →

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