#262A3E#262A3E

#262A3E is a dark, muted blue. Relative luminance 0.024; OKLCH L 29.1% C 0.037 H 275.2°. Best body text is #FFFFFF at 14.16:1 contrast (WCAG AA passes).

Color values

HEX#262A3E
RGBrgb(38, 42, 62)
HSLhsl(230, 24%, 20%)
HSVhsv(230, 39%, 24%)
CMYKcmyk(38.7%, 32.3%, 0%, 75.7%)
CIE-LABlab(17.53, 4.09, -13.28)
CIE-LCHlch(17.53, 13.90, 287.11°)
OKLaboklab(29.06% 0.0033 -0.0369)
OKLCHoklch(29.06% 0.037 275.2)
XYZxyz(2.4965, 2.4157, 4.8912)
Luminance0.0242 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262A3E #3E3A26
analogous
#26363E #262A3E #2E263E
triadic
#262A3E #3E262A #2A3E26
tetradic
#262A3E #3E2636 #3E3A26 #263E2E
square
#262A3E #3E2636 #3E3A26 #263E2E
split-complementary
#262A3E #3E2E26 #363E26
monochromatic
#0C0D13 #0F1018 #262A3E #3D4464 #555D8A

Accessibility & contrast

On white

14.16
#262A3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #262A3E
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262A3E#FFFFFF#000000##FFFFFF
##262A3E1.0014.161.4814.16
#FFFFFF14.161.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242C3F
Deuteranopia (green-blind)
#222A3E
Tritanopia (blue-blind)
#1F2E31
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #262a3e;
/* rgb */ color: rgb(38, 42, 62);
/* oklch */ color: oklch(29.1% 0.037 275.2);
Tailwind
colors: {
  custom: {
    50: '#616373',
    500: '#262a3e',
    950: '#000000',
  },
}
SCSS
$custom: #262a3e;
$custom-light: #616373;
$custom-dark: #000000;
JSON
{
  "hex": "#262a3e",
  "rgb": {
    "r": 38,
    "g": 42,
    "b": 62
  },
  "hsl": {
    "h": 230,
    "s": 24,
    "l": 19.608
  },
  "oklch": {
    "l": 0.29056,
    "c": 0.03704,
    "h": 275.2
  },
  "luminance": 0.02416
}

Semantic roles & 50–950 ramp

primary
#262A3E
secondary
#706B50
accent
#B267C0
background
#F5F5F6
surface
#EAEAEC
border
#C6C6C7
text
#050508
muted
#79797B

Preview Lab

Preview with #262A3E

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

Preview Lab → · Contrast checker → · Palette generator →

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