#262A40#262A40

#262A40 is a dark, muted blue. Relative luminance 0.024; OKLCH L 29.2% C 0.041 H 275.7°. Best body text is #FFFFFF at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#262A40
RGBrgb(38, 42, 64)
HSLhsl(231, 25%, 20%)
HSVhsv(231, 41%, 25%)
CMYKcmyk(40.6%, 34.4%, 0%, 74.9%)
CIE-LABlab(17.64, 4.75, -14.50)
CIE-LCHlch(17.64, 15.26, 288.12°)
OKLaboklab(29.17% 0.004 -0.0404)
OKLCHoklch(29.17% 0.041 275.7)
XYZxyz(2.5524, 2.4381, 5.1856)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262A40 #403C26
analogous
#263740 #262A40 #2F2640
triadic
#262A40 #40262A #2A4026
tetradic
#262A40 #402637 #403C26 #26402F
square
#262A40 #402637 #403C26 #26402F
split-complementary
#262A40 #402F26 #374026
monochromatic
#0B0D13 #0F111A #262A40 #3D4366 #545C8D

Accessibility & contrast

On white

14.12
#262A40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #262A40
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262A40#FFFFFF#000000##FFFFFF
##262A401.0014.121.4914.12
#FFFFFF14.121.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232C41
Deuteranopia (green-blind)
#212A3F
Tritanopia (blue-blind)
#1F2E32
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #262a40;
/* rgb */ color: rgb(38, 42, 64);
/* oklch */ color: oklch(29.2% 0.041 275.7);
Tailwind
colors: {
  custom: {
    50: '#616375',
    500: '#262a40',
    950: '#000000',
  },
}
SCSS
$custom: #262a40;
$custom-light: #616375;
$custom-dark: #000000;
JSON
{
  "hex": "#262a40",
  "rgb": {
    "r": 38,
    "g": 42,
    "b": 64
  },
  "hsl": {
    "h": 230.769,
    "s": 25.49,
    "l": 20
  },
  "oklch": {
    "l": 0.2917,
    "c": 0.0406,
    "h": 275.7
  },
  "luminance": 0.02438
}

Semantic roles & 50–950 ramp

primary
#262A40
secondary
#726D50
accent
#B466C2
background
#F5F5F7
surface
#EAEAED
border
#C6C6C8
text
#050508
muted
#79797B

Preview Lab

Preview with #262A40

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

Preview Lab → · Contrast checker → · Palette generator →

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