#263F87#263F87

#263F87 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.1% C 0.124 H 266.3°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#263F87
RGBrgb(38, 63, 135)
HSLhsl(225, 56%, 34%)
HSVhsv(225, 72%, 53%)
CMYKcmyk(71.9%, 53.3%, 0%, 47.1%)
CIE-LABlab(28.68, 16.47, -43.19)
CIE-LCHlch(28.68, 46.22, 290.87°)
OKLaboklab(39.12% -0.008 -0.1241)
OKLCHoklch(39.12% 0.124 266.3)
XYZxyz(6.9485, 5.7157, 23.6540)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#263F87 #876E26
analogous
#267087 #263F87 #3E2687
triadic
#263F87 #87263F #3F8726
tetradic
#263F87 #872670 #876E26 #26873E
square
#263F87 #872670 #876E26 #26873E
split-complementary
#263F87 #873E26 #708726
monochromatic
#0B1227 #192957 #263F87 #3355B7 #5877D0

Accessibility & contrast

On white

9.80
#263F87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#263F87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #263F87
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##263F87#FFFFFF#000000##FFFFFF
##263F871.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11488A
Deuteranopia (green-blind)
#003F86
Tritanopia (blue-blind)
#00505C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #263f87;
/* rgb */ color: rgb(38, 63, 135);
/* oklch */ color: oklch(39.1% 0.124 266.3);
Tailwind
colors: {
  custom: {
    50: '#6d73aa',
    500: '#263f87',
    950: '#000000',
  },
}
SCSS
$custom: #263f87;
$custom-light: #6d73aa;
$custom-dark: #000000;
JSON
{
  "hex": "#263f87",
  "rgb": {
    "r": 38,
    "g": 63,
    "b": 135
  },
  "hsl": {
    "h": 224.536,
    "s": 56.069,
    "l": 33.922
  },
  "oklch": {
    "l": 0.39115,
    "c": 0.12438,
    "h": 266.3
  },
  "luminance": 0.05716
}

Semantic roles & 50–950 ramp

primary
#263F87
secondary
#B59C54
accent
#B848DF
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #263F87

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

Preview Lab → · Contrast checker → · Palette generator →

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