#262C77#262C77

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

Color values

HEX#262C77
RGBrgb(38, 44, 119)
HSLhsl(236, 52%, 31%)
HSVhsv(236, 68%, 47%)
CMYKcmyk(68.1%, 63%, 0%, 53.3%)
CIE-LABlab(22.11, 23.46, -43.80)
CIE-LCHlch(22.11, 49.68, 298.17°)
OKLaboklab(33.79% 0.0087 -0.1262)
OKLCHoklch(33.79% 0.126 274)
XYZxyz(5.0287, 3.5449, 17.8684)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262C77 #777126
analogous
#265477 #262C77 #482677
triadic
#262C77 #77262C #2C7726
tetradic
#262C77 #772654 #777126 #267748
square
#262C77 #772654 #777126 #267748
split-complementary
#262C77 #774826 #547726
monochromatic
#080A1A #171B49 #262C77 #353DA5 #5059C7

Accessibility & contrast

On white

12.29
#262C77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#262C77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262C77
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262C77#FFFFFF#000000##FFFFFF
##262C771.0012.291.7112.29
#FFFFFF12.291.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003979
Deuteranopia (green-blind)
#003176
Tritanopia (blue-blind)
#003F4D
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #262c77;
/* rgb */ color: rgb(38, 44, 119);
/* oklch */ color: oklch(33.8% 0.126 274.0);
Tailwind
colors: {
  custom: {
    50: '#6b659f',
    500: '#262c77',
    950: '#000000',
  },
}
SCSS
$custom: #262c77;
$custom-light: #6b659f;
$custom-dark: #000000;
JSON
{
  "hex": "#262c77",
  "rgb": {
    "r": 38,
    "g": 44,
    "b": 119
  },
  "hsl": {
    "h": 235.556,
    "s": 51.592,
    "l": 30.784
  },
  "oklch": {
    "l": 0.33787,
    "c": 0.12647,
    "h": 274
  },
  "luminance": 0.03545
}

Semantic roles & 50–950 ramp

primary
#262C77
secondary
#A9A34F
accent
#D14DDB
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #262C77

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

Preview Lab → · Contrast checker → · Palette generator →

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