#263A8A#263A8A

#263A8A is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.3% C 0.135 H 268.6°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#263A8A
RGBrgb(38, 58, 138)
HSLhsl(228, 57%, 35%)
HSVhsv(228, 72%, 54%)
CMYKcmyk(72.5%, 58%, 0%, 45.9%)
CIE-LABlab(27.50, 21.07, -46.97)
CIE-LCHlch(27.50, 51.48, 294.16°)
OKLaboklab(38.29% -0.0034 -0.1353)
OKLCHoklch(38.29% 0.135 268.6)
XYZxyz(6.8982, 5.2725, 24.6940)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#263A8A #8A7626
analogous
#266C8A #263A8A #44268A
triadic
#263A8A #8A263A #3A8A26
tetradic
#263A8A #8A266C #8A7626 #268A44
square
#263A8A #8A266C #8A7626 #268A44
split-complementary
#263A8A #8A4426 #6C8A26
monochromatic
#0C122A #19265A #263A8A #334EBA #5971D1

Accessibility & contrast

On white

10.22
#263A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #263A8A
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##263A8A#FFFFFF#000000##FFFFFF
##263A8A1.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468D
Deuteranopia (green-blind)
#003D88
Tritanopia (blue-blind)
#004E5C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #263a8a;
/* rgb */ color: rgb(38, 58, 138);
/* oklch */ color: oklch(38.3% 0.135 268.6);
Tailwind
colors: {
  custom: {
    50: '#6e6fad',
    500: '#263a8a',
    950: '#000000',
  },
}
SCSS
$custom: #263a8a;
$custom-light: #6e6fad;
$custom-dark: #000000;
JSON
{
  "hex": "#263a8a",
  "rgb": {
    "r": 38,
    "g": 58,
    "b": 138
  },
  "hsl": {
    "h": 228,
    "s": 56.818,
    "l": 34.51
  },
  "oklch": {
    "l": 0.38293,
    "c": 0.13536,
    "h": 268.6
  },
  "luminance": 0.05273
}

Semantic roles & 50–950 ramp

primary
#263A8A
secondary
#B6A356
accent
#C248E0
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #263A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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