#263A9D#263A9D

#263A9D is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.0% C 0.162 H 268.9°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#263A9D
RGBrgb(38, 58, 157)
HSLhsl(230, 61%, 38%)
HSVhsv(230, 76%, 62%)
CMYKcmyk(75.8%, 63.1%, 0%, 38.4%)
CIE-LABlab(29.09, 28.34, -56.04)
CIE-LCHlch(29.09, 62.80, 296.83°)
OKLaboklab(39.97% -0.0032 -0.1619)
OKLCHoklch(39.97% 0.162 268.9)
XYZxyz(8.3961, 5.8716, 32.5826)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#263A9D #9D8926
analogous
#26759D #263A9D #4D269D
triadic
#263A9D #9D263A #3A9D26
tetradic
#263A9D #9D2675 #9D8926 #269D4D
square
#263A9D #9D2675 #9D8926 #269D4D
split-complementary
#263A9D #9D4D26 #759D26
monochromatic
#0E163A #1A286C #263A9D #334DCE #6478D9

Accessibility & contrast

On white

9.66
#263A9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#263A9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #263A9D
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##263A9D#FFFFFF#000000##FFFFFF
##263A9D1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA0
Deuteranopia (green-blind)
#003F9B
Tritanopia (blue-blind)
#005466
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #263a9d;
/* rgb */ color: rgb(38, 58, 157);
/* oklch */ color: oklch(40.0% 0.162 268.9);
Tailwind
colors: {
  custom: {
    50: '#7370bb',
    500: '#263a9d',
    950: '#000000',
  },
}
SCSS
$custom: #263a9d;
$custom-light: #7370bb;
$custom-dark: #000000;
JSON
{
  "hex": "#263a9d",
  "rgb": {
    "r": 38,
    "g": 58,
    "b": 157
  },
  "hsl": {
    "h": 229.916,
    "s": 61.026,
    "l": 38.235
  },
  "oklch": {
    "l": 0.39971,
    "c": 0.16198,
    "h": 268.9
  },
  "luminance": 0.05873
}

Semantic roles & 50–950 ramp

primary
#263A9D
secondary
#BFAF60
accent
#C944E4
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #263A9D

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

Preview Lab → · Contrast checker → · Palette generator →

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