#262B79#262B79

#262B79 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.8% C 0.131 H 274.2°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#262B79
RGBrgb(38, 43, 121)
HSLhsl(236, 52%, 31%)
HSVhsv(236, 69%, 47%)
CMYKcmyk(68.6%, 64.5%, 0%, 52.5%)
CIE-LABlab(22.02, 24.89, -45.22)
CIE-LCHlch(22.02, 51.62, 298.83°)
OKLaboklab(33.78% 0.0096 -0.1303)
OKLCHoklch(33.78% 0.131 274.2)
XYZxyz(5.1133, 3.5198, 18.4954)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262B79 #797426
analogous
#265479 #262B79 #4A2679
triadic
#262B79 #79262B #2B7926
tetradic
#262B79 #792654 #797426 #26794A
square
#262B79 #792654 #797426 #26794A
split-complementary
#262B79 #794A26 #547926
monochromatic
#090A1C #171A4A #262B79 #353CA8 #5158C8

Accessibility & contrast

On white

12.32
#262B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#262B79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262B79
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262B79#FFFFFF#000000##FFFFFF
##262B791.0012.321.7012.32
#FFFFFF12.321.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387C
Deuteranopia (green-blind)
#003177
Tritanopia (blue-blind)
#003F4D
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #262b79;
/* rgb */ color: rgb(38, 43, 121);
/* oklch */ color: oklch(33.8% 0.131 274.2);
Tailwind
colors: {
  custom: {
    50: '#6c64a0',
    500: '#262b79',
    950: '#000000',
  },
}
SCSS
$custom: #262b79;
$custom-light: #6c64a0;
$custom-dark: #000000;
JSON
{
  "hex": "#262b79",
  "rgb": {
    "r": 38,
    "g": 43,
    "b": 121
  },
  "hsl": {
    "h": 236.386,
    "s": 52.201,
    "l": 31.176
  },
  "oklch": {
    "l": 0.33775,
    "c": 0.1307,
    "h": 274.2
  },
  "luminance": 0.0352
}

Semantic roles & 50–950 ramp

primary
#262B79
secondary
#ABA650
accent
#D34CDC
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050F
muted
#7A7A7E

Preview Lab

Preview with #262B79

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

Preview Lab → · Contrast checker → · Palette generator →

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