#263A8D#263A8D

#263A8D is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.5% C 0.140 H 268.7°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#263A8D
RGBrgb(38, 58, 141)
HSLhsl(228, 58%, 35%)
HSVhsv(228, 73%, 55%)
CMYKcmyk(73%, 58.9%, 0%, 44.7%)
CIE-LABlab(27.74, 22.23, -48.44)
CIE-LCHlch(27.74, 53.29, 294.66°)
OKLaboklab(38.55% -0.0033 -0.1396)
OKLCHoklch(38.55% 0.14 268.7)
XYZxyz(7.1184, 5.3605, 25.8537)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#263A8D #8D7926
analogous
#266D8D #263A8D #46268D
triadic
#263A8D #8D263A #3A8D26
tetradic
#263A8D #8D266D #8D7926 #268D46
square
#263A8D #8D266D #8D7926 #268D46
split-complementary
#263A8D #8D4626 #6D8D26
monochromatic
#0C122D #19265D #263A8D #334EBD #5B72D3

Accessibility & contrast

On white

10.13
#263A8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#263A8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #263A8D
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##263A8D#FFFFFF#000000##FFFFFF
##263A8D1.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004690
Deuteranopia (green-blind)
#003D8B
Tritanopia (blue-blind)
#004E5D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #263a8d;
/* rgb */ color: rgb(38, 58, 141);
/* oklch */ color: oklch(38.5% 0.140 268.7);
Tailwind
colors: {
  custom: {
    50: '#6f6faf',
    500: '#263a8d',
    950: '#000000',
  },
}
SCSS
$custom: #263a8d;
$custom-light: #6f6faf;
$custom-dark: #000000;
JSON
{
  "hex": "#263a8d",
  "rgb": {
    "r": 38,
    "g": 58,
    "b": 141
  },
  "hsl": {
    "h": 228.35,
    "s": 57.542,
    "l": 35.098
  },
  "oklch": {
    "l": 0.38549,
    "c": 0.13967,
    "h": 268.7
  },
  "luminance": 0.05361
}

Semantic roles & 50–950 ramp

primary
#263A8D
secondary
#B8A557
accent
#C347E1
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #263A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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