#262C42#262C42

#262C42 is a dark, muted blue. Relative luminance 0.026; OKLCH L 29.8% C 0.041 H 272.0°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#262C42
RGBrgb(38, 44, 66)
HSLhsl(227, 27%, 20%)
HSVhsv(227, 42%, 26%)
CMYKcmyk(42.4%, 33.3%, 0%, 74.1%)
CIE-LABlab(18.39, 3.99, -14.70)
CIE-LCHlch(18.39, 15.23, 285.19°)
OKLaboklab(29.79% 0.0014 -0.041)
OKLCHoklch(29.79% 0.041 272)
XYZxyz(2.6831, 2.6067, 5.5150)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262C42 #423C26
analogous
#263A42 #262C42 #2E2642
triadic
#262C42 #42262C #2C4226
tetradic
#262C42 #42263A #423C26 #26422E
square
#262C42 #42263A #423C26 #26422E
split-complementary
#262C42 #422E26 #3A4226
monochromatic
#0B0D13 #10121B #262C42 #3C4669 #536090

Accessibility & contrast

On white

13.80
#262C42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#262C42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262C42
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262C42#FFFFFF#000000##FFFFFF
##262C421.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252E43
Deuteranopia (green-blind)
#222C41
Tritanopia (blue-blind)
#1E3034
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #262c42;
/* rgb */ color: rgb(38, 44, 66);
/* oklch */ color: oklch(29.8% 0.041 272.0);
Tailwind
colors: {
  custom: {
    50: '#616476',
    500: '#262c42',
    950: '#000000',
  },
}
SCSS
$custom: #262c42;
$custom-light: #616476;
$custom-dark: #000000;
JSON
{
  "hex": "#262c42",
  "rgb": {
    "r": 38,
    "g": 44,
    "b": 66
  },
  "hsl": {
    "h": 227.143,
    "s": 26.923,
    "l": 20.392
  },
  "oklch": {
    "l": 0.29792,
    "c": 0.04099,
    "h": 272
  },
  "luminance": 0.02607
}

Semantic roles & 50–950 ramp

primary
#262C42
secondary
#746C4F
accent
#AF65C3
background
#F5F6F7
surface
#EAEBED
border
#C6C6C8
text
#050508
muted
#797A7B

Preview Lab

Preview with #262C42

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

Preview Lab → · Contrast checker → · Palette generator →

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