#262C40#262C40

#262C40 is a dark, muted blue. Relative luminance 0.026; OKLCH L 29.7% C 0.037 H 271.1°. Best body text is #FFFFFF at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#262C40
RGBrgb(38, 44, 64)
HSLhsl(226, 25%, 20%)
HSVhsv(226, 41%, 25%)
CMYKcmyk(40.6%, 31.2%, 0%, 74.9%)
CIE-LABlab(18.29, 3.33, -13.48)
CIE-LCHlch(18.29, 13.89, 283.87°)
OKLaboklab(29.68% 0.0007 -0.0375)
OKLCHoklch(29.68% 0.037 271.1)
XYZxyz(2.6252, 2.5835, 5.2098)
Luminance0.0258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262C40 #403A26
analogous
#263940 #262C40 #2D2640
triadic
#262C40 #40262C #2C4026
tetradic
#262C40 #402639 #403A26 #26402D
square
#262C40 #402639 #403A26 #26402D
split-complementary
#262C40 #402D26 #394026
monochromatic
#0B0D13 #0F121A #262C40 #3D4666 #54618D

Accessibility & contrast

On white

13.84
#262C40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#262C40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262C40
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262C40#FFFFFF#000000##FFFFFF
##262C401.0013.841.5213.84
#FFFFFF13.841.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262E41
Deuteranopia (green-blind)
#232C40
Tritanopia (blue-blind)
#1E3033
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #262c40;
/* rgb */ color: rgb(38, 44, 64);
/* oklch */ color: oklch(29.7% 0.037 271.1);
Tailwind
colors: {
  custom: {
    50: '#616475',
    500: '#262c40',
    950: '#000000',
  },
}
SCSS
$custom: #262c40;
$custom-light: #616475;
$custom-dark: #000000;
JSON
{
  "hex": "#262c40",
  "rgb": {
    "r": 38,
    "g": 44,
    "b": 64
  },
  "hsl": {
    "h": 226.154,
    "s": 25.49,
    "l": 20
  },
  "oklch": {
    "l": 0.29679,
    "c": 0.03748,
    "h": 271.1
  },
  "luminance": 0.02584
}

Semantic roles & 50–950 ramp

primary
#262C40
secondary
#726A50
accent
#AD66C2
background
#F5F6F7
surface
#EAEBED
border
#C6C6C8
text
#050508
muted
#797A7B

Preview Lab

Preview with #262C40

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

Preview Lab → · Contrast checker → · Palette generator →

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