#262D84#262D84

#262D84 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.2% C 0.144 H 272.9°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#262D84
RGBrgb(38, 45, 132)
HSLhsl(236, 55%, 33%)
HSVhsv(236, 71%, 52%)
CMYKcmyk(71.2%, 65.9%, 0%, 48.2%)
CIE-LABlab(23.52, 27.64, -49.71)
CIE-LCHlch(23.52, 56.88, 299.08°)
OKLaboklab(35.19% 0.0073 -0.1435)
OKLCHoklch(35.19% 0.144 272.9)
XYZxyz(5.9012, 3.9542, 22.2776)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262D84 #847D26
analogous
#265C84 #262D84 #4E2684
triadic
#262D84 #84262D #2D8426
tetradic
#262D84 #84265C #847D26 #26844E
square
#262D84 #84265C #847D26 #26844E
split-complementary
#262D84 #844E26 #5C8426
monochromatic
#0B0D25 #181D54 #262D84 #343DB4 #565FCE

Accessibility & contrast

On white

11.73
#262D84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#262D84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262D84
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262D84#FFFFFF#000000##FFFFFF
##262D841.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C87
Deuteranopia (green-blind)
#003482
Tritanopia (blue-blind)
#004454
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #262d84;
/* rgb */ color: rgb(38, 45, 132);
/* oklch */ color: oklch(35.2% 0.144 272.9);
Tailwind
colors: {
  custom: {
    50: '#6e66a9',
    500: '#262d84',
    950: '#000000',
  },
}
SCSS
$custom: #262d84;
$custom-light: #6e66a9;
$custom-dark: #000000;
JSON
{
  "hex": "#262d84",
  "rgb": {
    "r": 38,
    "g": 45,
    "b": 132
  },
  "hsl": {
    "h": 235.532,
    "s": 55.294,
    "l": 33.333
  },
  "oklch": {
    "l": 0.35185,
    "c": 0.1437,
    "h": 272.9
  },
  "luminance": 0.03955
}

Semantic roles & 50–950 ramp

primary
#262D84
secondary
#B3AC53
accent
#D349DF
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #262D84

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

Preview Lab → · Contrast checker → · Palette generator →

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