#262D5D#262D5D

#262D5D is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.8% C 0.085 H 274.3°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#262D5D
RGBrgb(38, 45, 93)
HSLhsl(232, 42%, 26%)
HSVhsv(232, 59%, 36%)
CMYKcmyk(59.1%, 51.6%, 0%, 63.5%)
CIE-LABlab(20.36, 12.94, -29.76)
CIE-LCHlch(20.36, 32.45, 293.50°)
OKLaboklab(31.83% 0.0064 -0.0849)
OKLCHoklch(31.83% 0.085 274.3)
XYZxyz(3.7129, 3.0789, 10.7524)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262D5D #5D5626
analogous
#26485D #262D5D #3A265D
triadic
#262D5D #5D262D #2D5D26
tetradic
#262D5D #5D2648 #5D5626 #265D3A
square
#262D5D #5D2648 #5D5626 #265D3A
split-complementary
#262D5D #5D3A26 #485D26
monochromatic
#090B16 #141832 #262D5D #384288 #4A57B4

Accessibility & contrast

On white

13.00
#262D5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#262D5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262D5D
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262D5D#FFFFFF#000000##FFFFFF
##262D5D1.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16335F
Deuteranopia (green-blind)
#0F2F5C
Tritanopia (blue-blind)
#093840
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #262d5d;
/* rgb */ color: rgb(38, 45, 93);
/* oklch */ color: oklch(31.8% 0.085 274.3);
Tailwind
colors: {
  custom: {
    50: '#65658b',
    500: '#262d5d',
    950: '#000000',
  },
}
SCSS
$custom: #262d5d;
$custom-light: #65658b;
$custom-dark: #000000;
JSON
{
  "hex": "#262d5d",
  "rgb": {
    "r": 38,
    "g": 45,
    "b": 93
  },
  "hsl": {
    "h": 232.364,
    "s": 41.985,
    "l": 25.686
  },
  "oklch": {
    "l": 0.31834,
    "c": 0.08511,
    "h": 274.3
  },
  "luminance": 0.03079
}

Semantic roles & 50–950 ramp

primary
#262D5D
secondary
#90884F
accent
#C256D2
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06050C
muted
#7A7A7D

Preview Lab

Preview with #262D5D

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

Preview Lab → · Contrast checker → · Palette generator →

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