#263D8F#263D8F

#263D8F is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.3% C 0.139 H 267.7°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#263D8F
RGBrgb(38, 61, 143)
HSLhsl(227, 58%, 35%)
HSVhsv(227, 73%, 56%)
CMYKcmyk(73.4%, 57.3%, 0%, 43.9%)
CIE-LABlab(28.73, 20.95, -48.06)
CIE-LCHlch(28.73, 52.43, 293.55°)
OKLaboklab(39.34% -0.0057 -0.1385)
OKLCHoklch(39.34% 0.139 267.7)
XYZxyz(7.4243, 5.7320, 26.6964)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#263D8F #8F7826
analogous
#26718F #263D8F #43268F
triadic
#263D8F #8F263D #3D8F26
tetradic
#263D8F #8F2671 #8F7826 #268F43
square
#263D8F #8F2671 #8F7826 #268F43
split-complementary
#263D8F #8F4326 #718F26
monochromatic
#0C142E #19285F #263D8F #3352BF #5C76D4

Accessibility & contrast

On white

9.78
#263D8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#263D8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #263D8F
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##263D8F#FFFFFF#000000##FFFFFF
##263D8F1.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004992
Deuteranopia (green-blind)
#003F8D
Tritanopia (blue-blind)
#005160
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #263d8f;
/* rgb */ color: rgb(38, 61, 143);
/* oklch */ color: oklch(39.3% 0.139 267.7);
Tailwind
colors: {
  custom: {
    50: '#6f72b0',
    500: '#263d8f',
    950: '#000000',
  },
}
SCSS
$custom: #263d8f;
$custom-light: #6f72b0;
$custom-dark: #000000;
JSON
{
  "hex": "#263d8f",
  "rgb": {
    "r": 38,
    "g": 61,
    "b": 143
  },
  "hsl": {
    "h": 226.857,
    "s": 58.011,
    "l": 35.49
  },
  "oklch": {
    "l": 0.3934,
    "c": 0.13861,
    "h": 267.7
  },
  "luminance": 0.05733
}

Semantic roles & 50–950 ramp

primary
#263D8F
secondary
#B9A358
accent
#BF47E1
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080711
muted
#7B7A80

Preview Lab

Preview with #263D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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