#262E40#262E40

#262E40 is a dark, muted blue. Relative luminance 0.027; OKLCH L 30.2% C 0.035 H 265.8°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#262E40
RGBrgb(38, 46, 64)
HSLhsl(222, 25%, 20%)
HSVhsv(222, 41%, 25%)
CMYKcmyk(40.6%, 28.1%, 0%, 74.9%)
CIE-LABlab(18.95, 1.92, -12.46)
CIE-LCHlch(18.95, 12.61, 278.78°)
OKLaboklab(30.2% -0.0025 -0.0345)
OKLCHoklch(30.2% 0.035 265.8)
XYZxyz(2.7015, 2.7361, 5.2353)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262E40 #403826
analogous
#263B40 #262E40 #2B2640
triadic
#262E40 #40262E #2E4026
tetradic
#262E40 #40263B #403826 #26402B
square
#262E40 #40263B #403826 #26402B
split-complementary
#262E40 #402B26 #3B4026
monochromatic
#0B0E13 #0F121A #262E40 #3D4A66 #54658D

Accessibility & contrast

On white

13.57
#262E40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#262E40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262E40
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262E40#FFFFFF#000000##FFFFFF
##262E401.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282F41
Deuteranopia (green-blind)
#262D40
Tritanopia (blue-blind)
#1E3234
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #262e40;
/* rgb */ color: rgb(38, 46, 64);
/* oklch */ color: oklch(30.2% 0.035 265.8);
Tailwind
colors: {
  custom: {
    50: '#616674',
    500: '#262e40',
    950: '#000000',
  },
}
SCSS
$custom: #262e40;
$custom-light: #616674;
$custom-dark: #000000;
JSON
{
  "hex": "#262e40",
  "rgb": {
    "r": 38,
    "g": 46,
    "b": 64
  },
  "hsl": {
    "h": 221.538,
    "s": 25.49,
    "l": 20
  },
  "oklch": {
    "l": 0.30195,
    "c": 0.03464,
    "h": 265.8
  },
  "luminance": 0.02736
}

Semantic roles & 50–950 ramp

primary
#262E40
secondary
#726850
accent
#A666C2
background
#F5F6F7
surface
#EAEBED
border
#C6C6C8
text
#050608
muted
#797A7B

Preview Lab

Preview with #262E40

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

Preview Lab → · Contrast checker → · Palette generator →

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