#263C81#263C81

#263C81 is a dark, moderate blue. Relative luminance 0.052; OKLCH L 38.0% C 0.120 H 267.2°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#263C81
RGBrgb(38, 60, 129)
HSLhsl(225, 54%, 33%)
HSVhsv(225, 71%, 51%)
CMYKcmyk(70.5%, 53.5%, 0%, 49.4%)
CIE-LABlab(27.38, 16.20, -41.57)
CIE-LCHlch(27.38, 44.61, 291.30°)
OKLaboklab(37.98% -0.0058 -0.1194)
OKLCHoklch(37.98% 0.12 267.2)
XYZxyz(6.3763, 5.2281, 21.4377)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#263C81 #816B26
analogous
#266981 #263C81 #3E2681
triadic
#263C81 #81263C #3C8126
tetradic
#263C81 #812669 #816B26 #26813E
square
#263C81 #812669 #816B26 #26813E
split-complementary
#263C81 #813E26 #698126
monochromatic
#0A1022 #182652 #263C81 #3452B0 #5572CD

Accessibility & contrast

On white

10.26
#263C81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#263C81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #263C81
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##263C81#FFFFFF#000000##FFFFFF
##263C811.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114583
Deuteranopia (green-blind)
#003D80
Tritanopia (blue-blind)
#004C58
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #263c81;
/* rgb */ color: rgb(38, 60, 129);
/* oklch */ color: oklch(38.0% 0.120 267.2);
Tailwind
colors: {
  custom: {
    50: '#6c71a6',
    500: '#263c81',
    950: '#000000',
  },
}
SCSS
$custom: #263c81;
$custom-light: #6c71a6;
$custom-dark: #000000;
JSON
{
  "hex": "#263c81",
  "rgb": {
    "r": 38,
    "g": 60,
    "b": 129
  },
  "hsl": {
    "h": 225.495,
    "s": 54.491,
    "l": 32.745
  },
  "oklch": {
    "l": 0.37983,
    "c": 0.11953,
    "h": 267.2
  },
  "luminance": 0.05229
}

Semantic roles & 50–950 ramp

primary
#263C81
secondary
#B19A51
accent
#BA4ADE
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#08070F
muted
#7A7A7F

Preview Lab

Preview with #263C81

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

Preview Lab → · Contrast checker → · Palette generator →

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