#263D87#263D87

#263D87 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.7% C 0.127 H 267.2°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#263D87
RGBrgb(38, 61, 135)
HSLhsl(226, 56%, 34%)
HSVhsv(226, 72%, 53%)
CMYKcmyk(71.9%, 54.8%, 0%, 47.1%)
CIE-LABlab(28.11, 17.85, -44.12)
CIE-LCHlch(28.11, 47.59, 292.02°)
OKLaboklab(38.68% -0.0062 -0.1269)
OKLCHoklch(38.68% 0.127 267.2)
XYZxyz(6.8397, 5.4981, 23.6178)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#263D87 #877026
analogous
#266E87 #263D87 #402687
triadic
#263D87 #87263D #3D8726
tetradic
#263D87 #87266E #877026 #268740
square
#263D87 #87266E #877026 #268740
split-complementary
#263D87 #874026 #6E8726
monochromatic
#0B1227 #192757 #263D87 #3353B7 #5874D0

Accessibility & contrast

On white

10.00
#263D87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#263D87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #263D87
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##263D87#FFFFFF#000000##FFFFFF
##263D871.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08478A
Deuteranopia (green-blind)
#003E86
Tritanopia (blue-blind)
#004F5C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #263d87;
/* rgb */ color: rgb(38, 61, 135);
/* oklch */ color: oklch(38.7% 0.127 267.2);
Tailwind
colors: {
  custom: {
    50: '#6d72ab',
    500: '#263d87',
    950: '#000000',
  },
}
SCSS
$custom: #263d87;
$custom-light: #6d72ab;
$custom-dark: #000000;
JSON
{
  "hex": "#263d87",
  "rgb": {
    "r": 38,
    "g": 61,
    "b": 135
  },
  "hsl": {
    "h": 225.773,
    "s": 56.069,
    "l": 33.922
  },
  "oklch": {
    "l": 0.3868,
    "c": 0.12703,
    "h": 267.2
  },
  "luminance": 0.05499
}

Semantic roles & 50–950 ramp

primary
#263D87
secondary
#B59E54
accent
#BC48DF
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #263D87

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

Preview Lab → · Contrast checker → · Palette generator →

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