#263796#263796

#263796 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.8% C 0.156 H 269.7°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#263796
RGBrgb(38, 55, 150)
HSLhsl(231, 60%, 37%)
HSVhsv(231, 75%, 59%)
CMYKcmyk(74.7%, 63.3%, 0%, 41.2%)
CIE-LABlab(27.70, 27.70, -54.04)
CIE-LCHlch(27.70, 60.73, 297.14°)
OKLaboklab(38.76% -0.0009 -0.1561)
OKLCHoklch(38.76% 0.156 269.7)
XYZxyz(7.6686, 5.3457, 29.4759)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#263796 #968526
analogous
#266F96 #263796 #4D2696
triadic
#263796 #962637 #379626
tetradic
#263796 #96266F #968526 #26964D
square
#263796 #96266F #968526 #26964D
split-complementary
#263796 #964D26 #6F9626
monochromatic
#0D1334 #1A2565 #263796 #3249C7 #6072D7

Accessibility & contrast

On white

10.15
#263796 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#263796 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #263796
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##263796#FFFFFF#000000##FFFFFF
##2637961.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004799
Deuteranopia (green-blind)
#003C94
Tritanopia (blue-blind)
#004F61
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #263796;
/* rgb */ color: rgb(38, 55, 150);
/* oklch */ color: oklch(38.8% 0.156 269.7);
Tailwind
colors: {
  custom: {
    50: '#716db6',
    500: '#263796',
    950: '#000000',
  },
}
SCSS
$custom: #263796;
$custom-light: #716db6;
$custom-dark: #000000;
JSON
{
  "hex": "#263796",
  "rgb": {
    "r": 38,
    "g": 55,
    "b": 150
  },
  "hsl": {
    "h": 230.893,
    "s": 59.574,
    "l": 36.863
  },
  "oklch": {
    "l": 0.38756,
    "c": 0.15611,
    "h": 269.7
  },
  "luminance": 0.05346
}

Semantic roles & 50–950 ramp

primary
#263796
secondary
#BCAD5C
accent
#CB45E3
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #263796

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

Preview Lab → · Contrast checker → · Palette generator →

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