#262E77#262E77

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

Color values

HEX#262E77
RGBrgb(38, 46, 119)
HSLhsl(234, 52%, 31%)
HSVhsv(234, 68%, 47%)
CMYKcmyk(68.1%, 61.3%, 0%, 53.3%)
CIE-LABlab(22.65, 22.08, -42.92)
CIE-LCHlch(22.65, 48.27, 297.22°)
OKLaboklab(34.19% 0.0069 -0.1236)
OKLCHoklch(34.19% 0.124 273.2)
XYZxyz(5.1050, 3.6975, 17.8939)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262E77 #776F26
analogous
#265677 #262E77 #462677
triadic
#262E77 #77262E #2E7726
tetradic
#262E77 #772656 #776F26 #267746
square
#262E77 #772656 #776F26 #267746
split-complementary
#262E77 #774626 #567726
monochromatic
#080A1A #171C49 #262E77 #3540A5 #505CC7

Accessibility & contrast

On white

12.07
#262E77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#262E77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262E77
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262E77#FFFFFF#000000##FFFFFF
##262E771.0012.071.7412.07
#FFFFFF12.071.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A79
Deuteranopia (green-blind)
#003376
Tritanopia (blue-blind)
#00404D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #262e77;
/* rgb */ color: rgb(38, 46, 119);
/* oklch */ color: oklch(34.2% 0.124 273.2);
Tailwind
colors: {
  custom: {
    50: '#6b669f',
    500: '#262e77',
    950: '#000000',
  },
}
SCSS
$custom: #262e77;
$custom-light: #6b669f;
$custom-dark: #000000;
JSON
{
  "hex": "#262e77",
  "rgb": {
    "r": 38,
    "g": 46,
    "b": 119
  },
  "hsl": {
    "h": 234.074,
    "s": 51.592,
    "l": 30.784
  },
  "oklch": {
    "l": 0.34186,
    "c": 0.12376,
    "h": 273.2
  },
  "luminance": 0.03698
}

Semantic roles & 50–950 ramp

primary
#262E77
secondary
#A9A04F
accent
#CD4DDB
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #262E77

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

Preview Lab → · Contrast checker → · Palette generator →

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