#263D8A#263D8A

#263D8A is a dark, vivid blue. Relative luminance 0.056; OKLCH L 38.9% C 0.131 H 267.4°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#263D8A
RGBrgb(38, 61, 138)
HSLhsl(226, 57%, 35%)
HSVhsv(226, 72%, 54%)
CMYKcmyk(72.5%, 55.8%, 0%, 45.9%)
CIE-LABlab(28.34, 19.01, -45.61)
CIE-LCHlch(28.34, 49.41, 292.63°)
OKLaboklab(38.92% -0.006 -0.1313)
OKLCHoklch(38.92% 0.131 267.4)
XYZxyz(7.0539, 5.5838, 24.7459)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#263D8A #8A7326
analogous
#266F8A #263D8A #41268A
triadic
#263D8A #8A263D #3D8A26
tetradic
#263D8A #8A266F #8A7326 #268A41
square
#263D8A #8A266F #8A7326 #268A41
split-complementary
#263D8A #8A4126 #6F8A26
monochromatic
#0C132A #19285A #263D8A #3352BA #5975D1

Accessibility & contrast

On white

9.92
#263D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#263D8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #263D8A
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##263D8A#FFFFFF#000000##FFFFFF
##263D8A1.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00488D
Deuteranopia (green-blind)
#003E88
Tritanopia (blue-blind)
#00505D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #263d8a;
/* rgb */ color: rgb(38, 61, 138);
/* oklch */ color: oklch(38.9% 0.131 267.4);
Tailwind
colors: {
  custom: {
    50: '#6e72ad',
    500: '#263d8a',
    950: '#000000',
  },
}
SCSS
$custom: #263d8a;
$custom-light: #6e72ad;
$custom-dark: #000000;
JSON
{
  "hex": "#263d8a",
  "rgb": {
    "r": 38,
    "g": 61,
    "b": 138
  },
  "hsl": {
    "h": 226.2,
    "s": 56.818,
    "l": 34.51
  },
  "oklch": {
    "l": 0.38924,
    "c": 0.13141,
    "h": 267.4
  },
  "luminance": 0.05585
}

Semantic roles & 50–950 ramp

primary
#263D8A
secondary
#B6A056
accent
#BD48E0
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #263D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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