#262C7A#262C7A

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

Color values

HEX#262C7A
RGBrgb(38, 44, 122)
HSLhsl(236, 53%, 31%)
HSVhsv(236, 69%, 48%)
CMYKcmyk(68.9%, 63.9%, 0%, 52.2%)
CIE-LABlab(22.37, 24.58, -45.28)
CIE-LCHlch(22.37, 51.53, 298.50°)
OKLaboklab(34.06% 0.0086 -0.1305)
OKLCHoklch(34.06% 0.131 273.8)
XYZxyz(5.2117, 3.6181, 18.8323)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#262C7A #7A7426
analogous
#26567A #262C7A #4A267A
triadic
#262C7A #7A262C #2C7A26
tetradic
#262C7A #7A2656 #7A7426 #267A4A
square
#262C7A #7A2656 #7A7426 #267A4A
split-complementary
#262C7A #7A4A26 #567A26
monochromatic
#090A1D #171B4B #262C7A #353DA9 #515AC9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##262C7A#FFFFFF#000000##FFFFFF
##262C7A1.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)
#00397D
Deuteranopia (green-blind)
#003278
Tritanopia (blue-blind)
#00404E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #262c7a;
/* rgb */ color: rgb(38, 44, 122);
/* oklch */ color: oklch(34.1% 0.131 273.8);
Tailwind
colors: {
  custom: {
    50: '#6c65a1',
    500: '#262c7a',
    950: '#000000',
  },
}
SCSS
$custom: #262c7a;
$custom-light: #6c65a1;
$custom-dark: #000000;
JSON
{
  "hex": "#262c7a",
  "rgb": {
    "r": 38,
    "g": 44,
    "b": 122
  },
  "hsl": {
    "h": 235.714,
    "s": 52.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.3406,
    "c": 0.13081,
    "h": 273.8
  },
  "luminance": 0.03619
}

Semantic roles & 50–950 ramp

primary
#262C7A
secondary
#ACA650
accent
#D24CDC
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #262C7A

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

Preview Lab → · Contrast checker → · Palette generator →

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