#263A8B#263A8B

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

Color values

HEX#263A8B
RGBrgb(38, 58, 139)
HSLhsl(228, 57%, 35%)
HSVhsv(228, 73%, 55%)
CMYKcmyk(72.7%, 58.3%, 0%, 45.5%)
CIE-LABlab(27.58, 21.46, -47.46)
CIE-LCHlch(27.58, 52.09, 294.33°)
OKLaboklab(38.38% -0.0033 -0.1368)
OKLCHoklch(38.38% 0.137 268.6)
XYZxyz(6.9710, 5.3016, 25.0770)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#263A8B #8B7726
analogous
#266C8B #263A8B #45268B
triadic
#263A8B #8B263A #3A8B26
tetradic
#263A8B #8B266C #8B7726 #268B45
square
#263A8B #8B266C #8B7726 #268B45
split-complementary
#263A8B #8B4526 #6C8B26
monochromatic
#0C122B #19265B #263A8B #334EBB #5A71D2

Accessibility & contrast

On white

10.19
#263A8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#263A8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #263A8B
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##263A8B#FFFFFF#000000##FFFFFF
##263A8B1.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #263a8b;
/* rgb */ color: rgb(38, 58, 139);
/* oklch */ color: oklch(38.4% 0.137 268.6);
Tailwind
colors: {
  custom: {
    50: '#6f6fae',
    500: '#263a8b',
    950: '#000000',
  },
}
SCSS
$custom: #263a8b;
$custom-light: #6f6fae;
$custom-dark: #000000;
JSON
{
  "hex": "#263a8b",
  "rgb": {
    "r": 38,
    "g": 58,
    "b": 139
  },
  "hsl": {
    "h": 228.119,
    "s": 57.062,
    "l": 34.706
  },
  "oklch": {
    "l": 0.38378,
    "c": 0.1368,
    "h": 268.6
  },
  "luminance": 0.05302
}

Semantic roles & 50–950 ramp

primary
#263A8B
secondary
#B7A356
accent
#C247E0
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #263A8B

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

Preview Lab → · Contrast checker → · Palette generator →

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