#262B77#262B77

#262B77 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.6% C 0.128 H 274.3°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#262B77
RGBrgb(38, 43, 119)
HSLhsl(236, 52%, 31%)
HSVhsv(236, 68%, 47%)
CMYKcmyk(68.1%, 63.9%, 0%, 53.3%)
CIE-LABlab(21.84, 24.14, -44.23)
CIE-LCHlch(21.84, 50.39, 298.63°)
OKLaboklab(33.59% 0.0096 -0.1274)
OKLCHoklch(33.59% 0.128 274.3)
XYZxyz(4.9919, 3.4713, 17.8561)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262B77 #777226
analogous
#265377 #262B77 #492677
triadic
#262B77 #77262B #2B7726
tetradic
#262B77 #772653 #777226 #267749
square
#262B77 #772653 #777226 #267749
split-complementary
#262B77 #774926 #537726
monochromatic
#08091A #171A49 #262B77 #353CA5 #5058C7

Accessibility & contrast

On white

12.39
#262B77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #262B77
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262B77#FFFFFF#000000##FFFFFF
##262B771.0012.391.6912.39
#FFFFFF12.391.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003879
Deuteranopia (green-blind)
#003176
Tritanopia (blue-blind)
#003E4C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #262b77;
/* rgb */ color: rgb(38, 43, 119);
/* oklch */ color: oklch(33.6% 0.128 274.3);
Tailwind
colors: {
  custom: {
    50: '#6b649f',
    500: '#262b77',
    950: '#000000',
  },
}
SCSS
$custom: #262b77;
$custom-light: #6b649f;
$custom-dark: #000000;
JSON
{
  "hex": "#262b77",
  "rgb": {
    "r": 38,
    "g": 43,
    "b": 119
  },
  "hsl": {
    "h": 236.296,
    "s": 51.592,
    "l": 30.784
  },
  "oklch": {
    "l": 0.33591,
    "c": 0.12781,
    "h": 274.3
  },
  "luminance": 0.03472
}

Semantic roles & 50–950 ramp

primary
#262B77
secondary
#A9A44F
accent
#D24DDB
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #262B77

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

Preview Lab → · Contrast checker → · Palette generator →

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