#262D60#262D60

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

Color values

HEX#262D60
RGBrgb(38, 45, 96)
HSLhsl(233, 43%, 26%)
HSVhsv(233, 60%, 38%)
CMYKcmyk(60.4%, 53.1%, 0%, 62.4%)
CIE-LABlab(20.57, 14.07, -31.39)
CIE-LCHlch(20.57, 34.40, 294.13°)
OKLaboklab(32.06% 0.0068 -0.0897)
OKLCHoklch(32.06% 0.09 274.3)
XYZxyz(3.8484, 3.1331, 11.4660)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262D60 #605926
analogous
#264A60 #262D60 #3C2660
triadic
#262D60 #60262D #2D6026
tetradic
#262D60 #60264A #605926 #26603C
square
#262D60 #60264A #605926 #26603C
split-complementary
#262D60 #603C26 #4A6026
monochromatic
#090A16 #151834 #262D60 #37428C #4957B7

Accessibility & contrast

On white

12.91
#262D60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#262D60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262D60
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262D60#FFFFFF#000000##FFFFFF
##262D601.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133462
Deuteranopia (green-blind)
#0A2F5F
Tritanopia (blue-blind)
#053842
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #262d60;
/* rgb */ color: rgb(38, 45, 96);
/* oklch */ color: oklch(32.1% 0.090 274.3);
Tailwind
colors: {
  custom: {
    50: '#66658d',
    500: '#262d60',
    950: '#000000',
  },
}
SCSS
$custom: #262d60;
$custom-light: #66658d;
$custom-dark: #000000;
JSON
{
  "hex": "#262d60",
  "rgb": {
    "r": 38,
    "g": 45,
    "b": 96
  },
  "hsl": {
    "h": 232.759,
    "s": 43.284,
    "l": 26.275
  },
  "oklch": {
    "l": 0.32063,
    "c": 0.08993,
    "h": 274.3
  },
  "luminance": 0.03133
}

Semantic roles & 50–950 ramp

primary
#262D60
secondary
#938B4F
accent
#C455D3
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06050C
muted
#7A7A7D

Preview Lab

Preview with #262D60

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

Preview Lab → · Contrast checker → · Palette generator →

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