#262A42#262A42

#262A42 is a dark, muted blue. Relative luminance 0.025; OKLCH L 29.3% C 0.044 H 276.1°. Best body text is #FFFFFF at 14.07:1 contrast (WCAG AA passes).

Color values

HEX#262A42
RGBrgb(38, 42, 66)
HSLhsl(231, 27%, 20%)
HSVhsv(231, 42%, 26%)
CMYKcmyk(42.4%, 36.4%, 0%, 74.1%)
CIE-LABlab(17.74, 5.41, -15.71)
CIE-LCHlch(17.74, 16.62, 289.01°)
OKLaboklab(29.29% 0.0047 -0.0439)
OKLCHoklch(29.29% 0.044 276.1)
XYZxyz(2.6104, 2.4612, 5.4907)
Luminance0.0246 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262A42 #423E26
analogous
#263842 #262A42 #302642
triadic
#262A42 #42262A #2A4226
tetradic
#262A42 #422638 #423E26 #264230
square
#262A42 #422638 #423E26 #264230
split-complementary
#262A42 #423026 #384226
monochromatic
#0B0C13 #10111B #262A42 #3C4369 #535B90

Accessibility & contrast

On white

14.07
#262A42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#262A42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262A42
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262A42#FFFFFF#000000##FFFFFF
##262A421.0014.071.4914.07
#FFFFFF14.071.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222D43
Deuteranopia (green-blind)
#202A41
Tritanopia (blue-blind)
#1E2F33
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #262a42;
/* rgb */ color: rgb(38, 42, 66);
/* oklch */ color: oklch(29.3% 0.044 276.1);
Tailwind
colors: {
  custom: {
    50: '#616376',
    500: '#262a42',
    950: '#000000',
  },
}
SCSS
$custom: #262a42;
$custom-light: #616376;
$custom-dark: #000000;
JSON
{
  "hex": "#262a42",
  "rgb": {
    "r": 38,
    "g": 42,
    "b": 66
  },
  "hsl": {
    "h": 231.429,
    "s": 26.923,
    "l": 20.392
  },
  "oklch": {
    "l": 0.29287,
    "c": 0.04414,
    "h": 276.1
  },
  "luminance": 0.02461
}

Semantic roles & 50–950 ramp

primary
#262A42
secondary
#746F4F
accent
#B665C3
background
#F5F5F7
surface
#EAEAED
border
#C6C6C8
text
#050508
muted
#79797B

Preview Lab

Preview with #262A42

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

Preview Lab → · Contrast checker → · Palette generator →

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