#263178#263178

#263178 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 34.9% C 0.121 H 271.9°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#263178
RGBrgb(38, 49, 120)
HSLhsl(232, 52%, 31%)
HSVhsv(232, 68%, 47%)
CMYKcmyk(68.3%, 59.2%, 0%, 52.9%)
CIE-LABlab(23.55, 20.37, -42.08)
CIE-LCHlch(23.55, 46.75, 295.83°)
OKLaboklab(34.89% 0.0041 -0.1211)
OKLCHoklch(34.89% 0.121 271.9)
XYZxyz(5.2867, 3.9643, 18.2522)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#263178 #786D26
analogous
#265A78 #263178 #442678
triadic
#263178 #782631 #317826
tetradic
#263178 #78265A #786D26 #267844
square
#263178 #78265A #786D26 #267844
split-complementary
#263178 #784426 #5A7826
monochromatic
#090B1B #171E4A #263178 #3544A6 #5161C8

Accessibility & contrast

On white

11.71
#263178 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#263178 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #263178
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##263178#FFFFFF#000000##FFFFFF
##2631781.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7A
Deuteranopia (green-blind)
#003577
Tritanopia (blue-blind)
#00424F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #263178;
/* rgb */ color: rgb(38, 49, 120);
/* oklch */ color: oklch(34.9% 0.121 271.9);
Tailwind
colors: {
  custom: {
    50: '#6b68a0',
    500: '#263178',
    950: '#000000',
  },
}
SCSS
$custom: #263178;
$custom-light: #6b68a0;
$custom-dark: #000000;
JSON
{
  "hex": "#263178",
  "rgb": {
    "r": 38,
    "g": 49,
    "b": 120
  },
  "hsl": {
    "h": 231.951,
    "s": 51.899,
    "l": 30.98
  },
  "oklch": {
    "l": 0.34887,
    "c": 0.12114,
    "h": 271.9
  },
  "luminance": 0.03965
}

Semantic roles & 50–950 ramp

primary
#263178
secondary
#AA9E50
accent
#C84CDB
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060F
muted
#7A7A7E

Preview Lab

Preview with #263178

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

Preview Lab → · Contrast checker → · Palette generator →

#263178 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva