#262A3C#262A3C

#262A3C is a dark, muted blue. Relative luminance 0.024; OKLCH L 28.9% C 0.033 H 274.5°. Best body text is #FFFFFF at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#262A3C
RGBrgb(38, 42, 60)
HSLhsl(229, 22%, 19%)
HSVhsv(229, 37%, 24%)
CMYKcmyk(36.7%, 30%, 0%, 76.5%)
CIE-LABlab(17.43, 3.44, -12.05)
CIE-LCHlch(17.43, 12.53, 285.95°)
OKLaboklab(28.95% 0.0026 -0.0334)
OKLCHoklch(28.95% 0.033 274.5)
XYZxyz(2.4427, 2.3942, 4.6075)
Luminance0.0239 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262A3C #3C3826
analogous
#26353C #262A3C #2D263C
triadic
#262A3C #3C262A #2A3C26
tetradic
#262A3C #3C2635 #3C3826 #263C2D
square
#262A3C #3C2635 #3C3826 #263C2D
split-complementary
#262A3C #3C2D26 #353C26
monochromatic
#0C0D13 #0E1017 #262A3C #3E4461 #555E87

Accessibility & contrast

On white

14.20
#262A3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#262A3C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262A3C
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262A3C#FFFFFF#000000##FFFFFF
##262A3C1.0014.201.4814.20
#FFFFFF14.201.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242C3D
Deuteranopia (green-blind)
#232A3C
Tritanopia (blue-blind)
#202D30
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #262a3c;
/* rgb */ color: rgb(38, 42, 60);
/* oklch */ color: oklch(28.9% 0.033 274.5);
Tailwind
colors: {
  custom: {
    50: '#616371',
    500: '#262a3c',
    950: '#000000',
  },
}
SCSS
$custom: #262a3c;
$custom-light: #616371;
$custom-dark: #000000;
JSON
{
  "hex": "#262a3c",
  "rgb": {
    "r": 38,
    "g": 42,
    "b": 60
  },
  "hsl": {
    "h": 229.091,
    "s": 22.449,
    "l": 19.216
  },
  "oklch": {
    "l": 0.28945,
    "c": 0.03347,
    "h": 274.5
  },
  "luminance": 0.02394
}

Semantic roles & 50–950 ramp

primary
#262A3C
secondary
#6E6850
accent
#AF69BF
background
#F5F5F6
surface
#E9EAEC
border
#C5C6C7
text
#050507
muted
#79797A

Preview Lab

Preview with #262A3C

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

Preview Lab → · Contrast checker → · Palette generator →

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