#262D79#262D79

#262D79 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.2% C 0.128 H 273.5°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#262D79
RGBrgb(38, 45, 121)
HSLhsl(235, 52%, 31%)
HSVhsv(235, 69%, 47%)
CMYKcmyk(68.6%, 62.8%, 0%, 52.5%)
CIE-LABlab(22.55, 23.52, -44.36)
CIE-LCHlch(22.55, 50.21, 297.94°)
OKLaboklab(34.17% 0.0078 -0.1278)
OKLCHoklch(34.17% 0.128 273.5)
XYZxyz(5.1878, 3.6689, 18.5202)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262D79 #797226
analogous
#265679 #262D79 #482679
triadic
#262D79 #79262D #2D7926
tetradic
#262D79 #792656 #797226 #267948
square
#262D79 #792656 #797226 #267948
split-complementary
#262D79 #794826 #567926
monochromatic
#090A1C #171C4A #262D79 #353EA8 #515BC8

Accessibility & contrast

On white

12.11
#262D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#262D79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262D79
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262D79#FFFFFF#000000##FFFFFF
##262D791.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7B
Deuteranopia (green-blind)
#003278
Tritanopia (blue-blind)
#00404E
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #262d79;
/* rgb */ color: rgb(38, 45, 121);
/* oklch */ color: oklch(34.2% 0.128 273.5);
Tailwind
colors: {
  custom: {
    50: '#6b66a0',
    500: '#262d79',
    950: '#000000',
  },
}
SCSS
$custom: #262d79;
$custom-light: #6b66a0;
$custom-dark: #000000;
JSON
{
  "hex": "#262d79",
  "rgb": {
    "r": 38,
    "g": 45,
    "b": 121
  },
  "hsl": {
    "h": 234.94,
    "s": 52.201,
    "l": 31.176
  },
  "oklch": {
    "l": 0.34165,
    "c": 0.12804,
    "h": 273.5
  },
  "luminance": 0.03669
}

Semantic roles & 50–950 ramp

primary
#262D79
secondary
#ABA350
accent
#D04CDC
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050F
muted
#7A7A7E

Preview Lab

Preview with #262D79

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

Preview Lab → · Contrast checker → · Palette generator →

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