#262E3A#262E3A

#262E3A is a dark, muted blue. Relative luminance 0.027; OKLCH L 29.9% C 0.025 H 258.4°. Best body text is #FFFFFF at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#262E3A
RGBrgb(38, 46, 58)
HSLhsl(216, 21%, 19%)
HSVhsv(216, 34%, 23%)
CMYKcmyk(34.5%, 20.7%, 0%, 77.3%)
CIE-LABlab(18.68, 0.01, -8.76)
CIE-LCHlch(18.68, 8.76, 270.08°)
OKLaboklab(29.89% -0.005 -0.0241)
OKLCHoklch(29.89% 0.025 258.4)
XYZxyz(2.5398, 2.6715, 4.3840)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262E3A #3A3226
analogous
#26383A #262E3A #28263A
triadic
#262E3A #3A262E #2E3A26
tetradic
#262E3A #3A2638 #3A3226 #263A28
square
#262E3A #3A2638 #3A3226 #263A28
split-complementary
#262E3A #3A2826 #383A26
monochromatic
#0C0F12 #0E1115 #262E3A #3E4B5F #566984

Accessibility & contrast

On white

13.69
#262E3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#262E3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262E3A
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262E3A#FFFFFF#000000##FFFFFF
##262E3A1.0013.691.5313.69
#FFFFFF13.691.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2F3B
Deuteranopia (green-blind)
#282D3A
Tritanopia (blue-blind)
#203132
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #262e3a;
/* rgb */ color: rgb(38, 46, 58);
/* oklch */ color: oklch(29.9% 0.025 258.4);
Tailwind
colors: {
  custom: {
    50: '#616670',
    500: '#262e3a',
    950: '#000000',
  },
}
SCSS
$custom: #262e3a;
$custom-light: #616670;
$custom-dark: #000000;
JSON
{
  "hex": "#262e3a",
  "rgb": {
    "r": 38,
    "g": 46,
    "b": 58
  },
  "hsl": {
    "h": 216,
    "s": 20.833,
    "l": 18.824
  },
  "oklch": {
    "l": 0.29886,
    "c": 0.02458,
    "h": 258.4
  },
  "luminance": 0.02672
}

Semantic roles & 50–950 ramp

primary
#262E3A
secondary
#6C6150
accent
#9C6ABD
background
#F5F6F6
surface
#E9EBEC
border
#C5C6C7
text
#050607
muted
#797A7A

Preview Lab

Preview with #262E3A

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

Preview Lab → · Contrast checker → · Palette generator →

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