#262A79#262A79

#262A79 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.6% C 0.132 H 274.5°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#262A79
RGBrgb(38, 42, 121)
HSLhsl(237, 52%, 31%)
HSVhsv(237, 69%, 47%)
CMYKcmyk(68.6%, 65.3%, 0%, 52.5%)
CIE-LABlab(21.76, 25.57, -45.64)
CIE-LCHlch(21.76, 52.32, 299.26°)
OKLaboklab(33.58% 0.0104 -0.1316)
OKLCHoklch(33.58% 0.132 274.5)
XYZxyz(5.0773, 3.4480, 18.4834)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262A79 #797526
analogous
#265379 #262A79 #4B2679
triadic
#262A79 #79262A #2A7926
tetradic
#262A79 #792653 #797526 #26794B
square
#262A79 #792653 #797526 #26794B
split-complementary
#262A79 #794B26 #537926
monochromatic
#090A1C #171A4A #262A79 #353AA8 #5157C8

Accessibility & contrast

On white

12.43
#262A79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#262A79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262A79
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262A79#FFFFFF#000000##FFFFFF
##262A791.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387C
Deuteranopia (green-blind)
#003077
Tritanopia (blue-blind)
#003E4D
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #262a79;
/* rgb */ color: rgb(38, 42, 121);
/* oklch */ color: oklch(33.6% 0.132 274.5);
Tailwind
colors: {
  custom: {
    50: '#6c63a0',
    500: '#262a79',
    950: '#000000',
  },
}
SCSS
$custom: #262a79;
$custom-light: #6c63a0;
$custom-dark: #000000;
JSON
{
  "hex": "#262a79",
  "rgb": {
    "r": 38,
    "g": 42,
    "b": 121
  },
  "hsl": {
    "h": 237.108,
    "s": 52.201,
    "l": 31.176
  },
  "oklch": {
    "l": 0.33583,
    "c": 0.13202,
    "h": 274.5
  },
  "luminance": 0.03448
}

Semantic roles & 50–950 ramp

primary
#262A79
secondary
#ABA750
accent
#D54CDC
background
#F6F5FA
surface
#ECEAF3
border
#C7C6CD
text
#07050F
muted
#7A797F

Preview Lab

Preview with #262A79

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

Preview Lab → · Contrast checker → · Palette generator →

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