#262F40#262F40

#262F40 is a dark, muted blue. Relative luminance 0.028; OKLCH L 30.5% C 0.033 H 262.9°. Best body text is #FFFFFF at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#262F40
RGBrgb(38, 47, 64)
HSLhsl(219, 25%, 20%)
HSVhsv(219, 41%, 25%)
CMYKcmyk(40.6%, 26.6%, 0%, 74.9%)
CIE-LABlab(19.29, 1.23, -11.95)
CIE-LCHlch(19.29, 12.01, 275.87°)
OKLaboklab(30.46% -0.0041 -0.0331)
OKLCHoklch(30.46% 0.033 262.9)
XYZxyz(2.7410, 2.8151, 5.2484)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262F40 #403726
analogous
#263C40 #262F40 #2A2640
triadic
#262F40 #40262F #2F4026
tetradic
#262F40 #40263C #403726 #26402A
square
#262F40 #40263C #403726 #26402A
split-complementary
#262F40 #402A26 #3C4026
monochromatic
#0B0E13 #0F131A #262F40 #3D4B66 #54678D

Accessibility & contrast

On white

13.44
#262F40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#262F40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262F40
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262F40#FFFFFF#000000##FFFFFF
##262F401.0013.441.5613.44
#FFFFFF13.441.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293041
Deuteranopia (green-blind)
#272E40
Tritanopia (blue-blind)
#1E3335
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #262f40;
/* rgb */ color: rgb(38, 47, 64);
/* oklch */ color: oklch(30.5% 0.033 262.9);
Tailwind
colors: {
  custom: {
    50: '#616774',
    500: '#262f40',
    950: '#000000',
  },
}
SCSS
$custom: #262f40;
$custom-light: #616774;
$custom-dark: #000000;
JSON
{
  "hex": "#262f40",
  "rgb": {
    "r": 38,
    "g": 47,
    "b": 64
  },
  "hsl": {
    "h": 219.231,
    "s": 25.49,
    "l": 20
  },
  "oklch": {
    "l": 0.30455,
    "c": 0.03335,
    "h": 262.9
  },
  "luminance": 0.02815
}

Semantic roles & 50–950 ramp

primary
#262F40
secondary
#726650
accent
#A266C2
background
#F5F6F7
surface
#EAEBED
border
#C6C6C8
text
#050608
muted
#797A7B

Preview Lab

Preview with #262F40

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

Preview Lab → · Contrast checker → · Palette generator →

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