#263C87#263C87

#263C87 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.5% C 0.128 H 267.6°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#263C87
RGBrgb(38, 60, 135)
HSLhsl(226, 56%, 34%)
HSVhsv(226, 72%, 53%)
CMYKcmyk(71.9%, 55.6%, 0%, 47.1%)
CIE-LABlab(27.82, 18.53, -44.58)
CIE-LCHlch(27.82, 48.28, 292.58°)
OKLaboklab(38.46% -0.0053 -0.1283)
OKLCHoklch(38.46% 0.128 267.6)
XYZxyz(6.7868, 5.3924, 23.6001)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#263C87 #877126
analogous
#266D87 #263C87 #412687
triadic
#263C87 #87263C #3C8726
tetradic
#263C87 #87266D #877126 #268741
square
#263C87 #87266D #877126 #268741
split-complementary
#263C87 #874126 #6D8726
monochromatic
#0B1227 #192757 #263C87 #3351B7 #5873D0

Accessibility & contrast

On white

10.10
#263C87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#263C87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #263C87
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##263C87#FFFFFF#000000##FFFFFF
##263C871.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03468A
Deuteranopia (green-blind)
#003D85
Tritanopia (blue-blind)
#004E5B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #263c87;
/* rgb */ color: rgb(38, 60, 135);
/* oklch */ color: oklch(38.5% 0.128 267.6);
Tailwind
colors: {
  custom: {
    50: '#6d71ab',
    500: '#263c87',
    950: '#000000',
  },
}
SCSS
$custom: #263c87;
$custom-light: #6d71ab;
$custom-dark: #000000;
JSON
{
  "hex": "#263c87",
  "rgb": {
    "r": 38,
    "g": 60,
    "b": 135
  },
  "hsl": {
    "h": 226.392,
    "s": 56.069,
    "l": 33.922
  },
  "oklch": {
    "l": 0.38465,
    "c": 0.12837,
    "h": 267.6
  },
  "luminance": 0.05393
}

Semantic roles & 50–950 ramp

primary
#263C87
secondary
#B59F54
accent
#BD48DF
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #263C87

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

Preview Lab → · Contrast checker → · Palette generator →

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