#262D66#262D66

#262D66 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.5% C 0.099 H 274.2°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#262D66
RGBrgb(38, 45, 102)
HSLhsl(233, 46%, 27%)
HSVhsv(233, 63%, 40%)
CMYKcmyk(62.7%, 55.9%, 0%, 60%)
CIE-LABlab(21.01, 16.33, -34.61)
CIE-LCHlch(21.01, 38.27, 295.26°)
OKLaboklab(32.54% 0.0073 -0.0991)
OKLCHoklch(32.54% 0.099 274.2)
XYZxyz(4.1352, 3.2478, 12.9768)
Luminance0.0325 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262D66 #665F26
analogous
#264D66 #262D66 #3F2666
triadic
#262D66 #66262D #2D6626
tetradic
#262D66 #66264D #665F26 #26663F
square
#262D66 #66264D #665F26 #26663F
split-complementary
#262D66 #663F26 #4D6626
monochromatic
#080A16 #151939 #262D66 #374193 #4B57BC

Accessibility & contrast

On white

12.73
#262D66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#262D66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262D66
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262D66#FFFFFF#000000##FFFFFF
##262D661.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3568
Deuteranopia (green-blind)
#003065
Tritanopia (blue-blind)
#003A44
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #262d66;
/* rgb */ color: rgb(38, 45, 102);
/* oklch */ color: oklch(32.5% 0.099 274.2);
Tailwind
colors: {
  custom: {
    50: '#676592',
    500: '#262d66',
    950: '#000000',
  },
}
SCSS
$custom: #262d66;
$custom-light: #676592;
$custom-dark: #000000;
JSON
{
  "hex": "#262d66",
  "rgb": {
    "r": 38,
    "g": 45,
    "b": 102
  },
  "hsl": {
    "h": 233.438,
    "s": 45.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.32537,
    "c": 0.09942,
    "h": 274.2
  },
  "luminance": 0.03248
}

Semantic roles & 50–950 ramp

primary
#262D66
secondary
#99914F
accent
#C752D5
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06050D
muted
#7A7A7E

Preview Lab

Preview with #262D66

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

Preview Lab → · Contrast checker → · Palette generator →

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