#262A34#262A34

#262A34 is a dark, near-neutral blue. Relative luminance 0.023; OKLCH L 28.5% C 0.019 H 268.0°. Best body text is #FFFFFF at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#262A34
RGBrgb(38, 42, 52)
HSLhsl(223, 16%, 18%)
HSVhsv(223, 27%, 20%)
CMYKcmyk(26.9%, 19.2%, 0%, 79.6%)
CIE-LABlab(17.06, 0.98, -7.05)
CIE-LCHlch(17.06, 7.11, 277.93°)
OKLaboklab(28.54% -0.0007 -0.0192)
OKLCHoklch(28.54% 0.019 268)
XYZxyz(2.2470, 2.3159, 3.5768)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262A34 #343026
analogous
#263134 #262A34 #292634
triadic
#262A34 #34262A #2A3426
tetradic
#262A34 #342631 #343026 #263429
square
#262A34 #342631 #343026 #263429
split-complementary
#262A34 #342926 #313426
monochromatic
#0D0E12 #0D0E12 #262A34 #404757 #5A637B

Accessibility & contrast

On white

14.35
#262A34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #262A34
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262A34#FFFFFF#000000##FFFFFF
##262A341.0014.351.4614.35
#FFFFFF14.351.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272B34
Deuteranopia (green-blind)
#262934
Tritanopia (blue-blind)
#232C2D
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #262a34;
/* rgb */ color: rgb(38, 42, 52);
/* oklch */ color: oklch(28.5% 0.019 268.0);
Tailwind
colors: {
  custom: {
    50: '#60636b',
    500: '#262a34',
    950: '#000000',
  },
}
SCSS
$custom: #262a34;
$custom-light: #60636b;
$custom-dark: #000000;
JSON
{
  "hex": "#262a34",
  "rgb": {
    "r": 38,
    "g": 42,
    "b": 52
  },
  "hsl": {
    "h": 222.857,
    "s": 15.556,
    "l": 17.647
  },
  "oklch": {
    "l": 0.28536,
    "c": 0.01925,
    "h": 268
  },
  "luminance": 0.02316
}

Semantic roles & 50–950 ramp

primary
#262A34
secondary
#655F51
accent
#A46FB8
background
#F5F5F6
surface
#E9EAEB
border
#C5C6C6
text
#050506
muted
#79797A

Preview Lab

Preview with #262A34

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

Preview Lab → · Contrast checker → · Palette generator →

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