#263A8C#263A8C

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

Color values

HEX#263A8C
RGBrgb(38, 58, 140)
HSLhsl(228, 57%, 35%)
HSVhsv(228, 73%, 55%)
CMYKcmyk(72.9%, 58.6%, 0%, 45.1%)
CIE-LABlab(27.66, 21.85, -47.95)
CIE-LCHlch(27.66, 52.69, 294.50°)
OKLaboklab(38.46% -0.0033 -0.1382)
OKLCHoklch(38.46% 0.138 268.6)
XYZxyz(7.0444, 5.3309, 25.4636)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#263A8C #8C7826
analogous
#266D8C #263A8C #45268C
triadic
#263A8C #8C263A #3A8C26
tetradic
#263A8C #8C266D #8C7826 #268C45
square
#263A8C #8C266D #8C7826 #268C45
split-complementary
#263A8C #8C4526 #6D8C26
monochromatic
#0C122C #19265C #263A8C #334EBC #5A72D2

Accessibility & contrast

On white

10.16
#263A8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #263A8C
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##263A8C#FFFFFF#000000##FFFFFF
##263A8C1.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468F
Deuteranopia (green-blind)
#003D8A
Tritanopia (blue-blind)
#004E5D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #263a8c;
/* rgb */ color: rgb(38, 58, 140);
/* oklch */ color: oklch(38.5% 0.138 268.6);
Tailwind
colors: {
  custom: {
    50: '#6f6fae',
    500: '#263a8c',
    950: '#000000',
  },
}
SCSS
$custom: #263a8c;
$custom-light: #6f6fae;
$custom-dark: #000000;
JSON
{
  "hex": "#263a8c",
  "rgb": {
    "r": 38,
    "g": 58,
    "b": 140
  },
  "hsl": {
    "h": 228.235,
    "s": 57.303,
    "l": 34.902
  },
  "oklch": {
    "l": 0.38463,
    "c": 0.13824,
    "h": 268.6
  },
  "luminance": 0.05332
}

Semantic roles & 50–950 ramp

primary
#263A8C
secondary
#B7A457
accent
#C247E1
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #263A8C

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

Preview Lab → · Contrast checker → · Palette generator →

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