#263278#263278

#263278 is a dark, moderate blue. Relative luminance 0.040; OKLCH L 35.1% C 0.120 H 271.5°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#263278
RGBrgb(38, 50, 120)
HSLhsl(231, 52%, 31%)
HSVhsv(231, 68%, 47%)
CMYKcmyk(68.3%, 58.3%, 0%, 52.9%)
CIE-LABlab(23.83, 19.68, -41.63)
CIE-LCHlch(23.83, 46.04, 295.30°)
OKLaboklab(35.1% 0.0031 -0.1197)
OKLCHoklch(35.1% 0.12 271.5)
XYZxyz(5.3290, 4.0489, 18.2663)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#263278 #786C26
analogous
#265B78 #263278 #432678
triadic
#263278 #782632 #327826
tetradic
#263278 #78265B #786C26 #267843
square
#263278 #78265B #786C26 #267843
split-complementary
#263278 #784326 #5B7826
monochromatic
#090B1B #171F4A #263278 #3545A6 #5162C8

Accessibility & contrast

On white

11.60
#263278 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#263278 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #263278
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##263278#FFFFFF#000000##FFFFFF
##2632781.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7A
Deuteranopia (green-blind)
#003577
Tritanopia (blue-blind)
#004350
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #263278;
/* rgb */ color: rgb(38, 50, 120);
/* oklch */ color: oklch(35.1% 0.120 271.5);
Tailwind
colors: {
  custom: {
    50: '#6b69a0',
    500: '#263278',
    950: '#000000',
  },
}
SCSS
$custom: #263278;
$custom-light: #6b69a0;
$custom-dark: #000000;
JSON
{
  "hex": "#263278",
  "rgb": {
    "r": 38,
    "g": 50,
    "b": 120
  },
  "hsl": {
    "h": 231.22,
    "s": 51.899,
    "l": 30.98
  },
  "oklch": {
    "l": 0.35096,
    "c": 0.11976,
    "h": 271.5
  },
  "luminance": 0.04049
}

Semantic roles & 50–950 ramp

primary
#263278
secondary
#AA9D50
accent
#C64CDB
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060F
muted
#7A7A7E

Preview Lab

Preview with #263278

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

Preview Lab → · Contrast checker → · Palette generator →

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