#262E79#262E79

#262E79 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.4% C 0.127 H 273.1°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#262E79
RGBrgb(38, 46, 121)
HSLhsl(234, 52%, 31%)
HSVhsv(234, 69%, 47%)
CMYKcmyk(68.6%, 62%, 0%, 52.5%)
CIE-LABlab(22.81, 22.83, -43.92)
CIE-LCHlch(22.81, 49.50, 297.47°)
OKLaboklab(34.36% 0.0069 -0.1265)
OKLCHoklch(34.36% 0.127 273.1)
XYZxyz(5.2264, 3.7461, 18.5331)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262E79 #797126
analogous
#265779 #262E79 #472679
triadic
#262E79 #79262E #2E7926
tetradic
#262E79 #792657 #797126 #267947
square
#262E79 #792657 #797126 #267947
split-complementary
#262E79 #794726 #577926
monochromatic
#090B1C #171C4A #262E79 #3540A8 #515DC8

Accessibility & contrast

On white

12.00
#262E79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#262E79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262E79
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262E79#FFFFFF#000000##FFFFFF
##262E791.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #262e79;
/* rgb */ color: rgb(38, 46, 121);
/* oklch */ color: oklch(34.4% 0.127 273.1);
Tailwind
colors: {
  custom: {
    50: '#6b66a0',
    500: '#262e79',
    950: '#000000',
  },
}
SCSS
$custom: #262e79;
$custom-light: #6b66a0;
$custom-dark: #000000;
JSON
{
  "hex": "#262e79",
  "rgb": {
    "r": 38,
    "g": 46,
    "b": 121
  },
  "hsl": {
    "h": 234.217,
    "s": 52.201,
    "l": 31.176
  },
  "oklch": {
    "l": 0.34364,
    "c": 0.12669,
    "h": 273.1
  },
  "luminance": 0.03747
}

Semantic roles & 50–950 ramp

primary
#262E79
secondary
#ABA250
accent
#CE4CDC
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060F
muted
#7A7A7E

Preview Lab

Preview with #262E79

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

Preview Lab → · Contrast checker → · Palette generator →

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