#262D77#262D77

#262D77 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.0% C 0.125 H 273.6°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#262D77
RGBrgb(38, 45, 119)
HSLhsl(235, 52%, 31%)
HSVhsv(235, 68%, 47%)
CMYKcmyk(68.1%, 62.2%, 0%, 53.3%)
CIE-LABlab(22.37, 22.77, -43.36)
CIE-LCHlch(22.37, 48.97, 297.70°)
OKLaboklab(33.99% 0.0078 -0.1249)
OKLCHoklch(33.99% 0.125 273.6)
XYZxyz(5.0664, 3.6203, 17.8810)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262D77 #777026
analogous
#265577 #262D77 #472677
triadic
#262D77 #77262D #2D7726
tetradic
#262D77 #772655 #777026 #267747
square
#262D77 #772655 #777026 #267747
split-complementary
#262D77 #774726 #557726
monochromatic
#080A1A #171B49 #262D77 #353FA5 #505AC7

Accessibility & contrast

On white

12.18
#262D77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#262D77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #262D77
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##262D77#FFFFFF#000000##FFFFFF
##262D771.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #262d77;
/* rgb */ color: rgb(38, 45, 119);
/* oklch */ color: oklch(34.0% 0.125 273.6);
Tailwind
colors: {
  custom: {
    50: '#6b659f',
    500: '#262d77',
    950: '#000000',
  },
}
SCSS
$custom: #262d77;
$custom-light: #6b659f;
$custom-dark: #000000;
JSON
{
  "hex": "#262d77",
  "rgb": {
    "r": 38,
    "g": 45,
    "b": 119
  },
  "hsl": {
    "h": 234.815,
    "s": 51.592,
    "l": 30.784
  },
  "oklch": {
    "l": 0.33985,
    "c": 0.12512,
    "h": 273.6
  },
  "luminance": 0.03621
}

Semantic roles & 50–950 ramp

primary
#262D77
secondary
#A9A24F
accent
#CF4DDB
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #262D77

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

Preview Lab → · Contrast checker → · Palette generator →

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