#263A87#263A87

#263A87 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.0% C 0.131 H 268.5°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#263A87
RGBrgb(38, 58, 135)
HSLhsl(228, 56%, 34%)
HSVhsv(228, 72%, 53%)
CMYKcmyk(71.9%, 57%, 0%, 47.1%)
CIE-LABlab(27.26, 19.91, -45.49)
CIE-LCHlch(27.26, 49.66, 293.64°)
OKLaboklab(38.04% -0.0035 -0.131)
OKLCHoklch(38.04% 0.131 268.5)
XYZxyz(6.6841, 5.1868, 23.5659)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#263A87 #877326
analogous
#266B87 #263A87 #432687
triadic
#263A87 #87263A #3A8726
tetradic
#263A87 #87266B #877326 #268743
square
#263A87 #87266B #877326 #268743
split-complementary
#263A87 #874326 #6B8726
monochromatic
#0B1127 #192557 #263A87 #334FB7 #5870D0

Accessibility & contrast

On white

10.31
#263A87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#263A87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #263A87
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##263A87#FFFFFF#000000##FFFFFF
##263A871.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458A
Deuteranopia (green-blind)
#003C85
Tritanopia (blue-blind)
#004D5A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #263a87;
/* rgb */ color: rgb(38, 58, 135);
/* oklch */ color: oklch(38.0% 0.131 268.5);
Tailwind
colors: {
  custom: {
    50: '#6e6fab',
    500: '#263a87',
    950: '#000000',
  },
}
SCSS
$custom: #263a87;
$custom-light: #6e6fab;
$custom-dark: #000000;
JSON
{
  "hex": "#263a87",
  "rgb": {
    "r": 38,
    "g": 58,
    "b": 135
  },
  "hsl": {
    "h": 227.629,
    "s": 56.069,
    "l": 33.922
  },
  "oklch": {
    "l": 0.38041,
    "c": 0.13103,
    "h": 268.5
  },
  "luminance": 0.05187
}

Semantic roles & 50–950 ramp

primary
#263A87
secondary
#B5A154
accent
#C048DF
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #263A87

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

Preview Lab → · Contrast checker → · Palette generator →

#263A87 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva