#262A46#262A46

#262A46 is a dark, muted blue. Relative luminance 0.025; OKLCH L 29.5% C 0.051 H 276.6°. Best body text is #FFFFFF at 13.98:1 contrast (WCAG AA passes).

Color values

HEX#262A46
RGBrgb(38, 42, 70)
HSLhsl(233, 30%, 21%)
HSVhsv(233, 46%, 27%)
CMYKcmyk(45.7%, 40%, 0%, 72.5%)
CIE-LABlab(17.96, 6.77, -18.11)
CIE-LCHlch(17.96, 19.34, 290.51°)
OKLaboklab(29.53% 0.0059 -0.0508)
OKLCHoklch(29.53% 0.051 276.6)
XYZxyz(2.7325, 2.5101, 6.1337)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262A46 #464226
analogous
#263A46 #262A46 #322646
triadic
#262A46 #46262A #2A4626
tetradic
#262A46 #46263A #464226 #264632
square
#262A46 #46263A #464226 #264632
split-complementary
#262A46 #463226 #3A4626
monochromatic
#0B0C14 #10121E #262A46 #3C426E #515A95

Accessibility & contrast

On white

13.98
#262A46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#262A46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262A46
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262A46#FFFFFF#000000##FFFFFF
##262A461.0013.981.5013.98
#FFFFFF13.981.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202D47
Deuteranopia (green-blind)
#1E2B45
Tritanopia (blue-blind)
#1C3034
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #262a46;
/* rgb */ color: rgb(38, 42, 70);
/* oklch */ color: oklch(29.5% 0.051 276.6);
Tailwind
colors: {
  custom: {
    50: '#626379',
    500: '#262a46',
    950: '#000000',
  },
}
SCSS
$custom: #262a46;
$custom-light: #626379;
$custom-dark: #000000;
JSON
{
  "hex": "#262a46",
  "rgb": {
    "r": 38,
    "g": 42,
    "b": 70
  },
  "hsl": {
    "h": 232.5,
    "s": 29.63,
    "l": 21.176
  },
  "oklch": {
    "l": 0.29531,
    "c": 0.05116,
    "h": 276.6
  },
  "luminance": 0.0251
}

Semantic roles & 50–950 ramp

primary
#262A46
secondary
#79734F
accent
#B962C6
background
#F5F5F7
surface
#EAEAED
border
#C6C6C8
text
#050509
muted
#79797B

Preview Lab

Preview with #262A46

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

Preview Lab → · Contrast checker → · Palette generator →

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