#263A81#263A81

#263A81 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.5% C 0.122 H 268.1°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#263A81
RGBrgb(38, 58, 129)
HSLhsl(227, 54%, 33%)
HSVhsv(227, 71%, 51%)
CMYKcmyk(70.5%, 55%, 0%, 49.4%)
CIE-LABlab(26.80, 17.59, -42.50)
CIE-LCHlch(26.80, 45.99, 292.48°)
OKLaboklab(37.55% -0.004 -0.1222)
OKLCHoklch(37.55% 0.122 268.1)
XYZxyz(6.2735, 5.0226, 21.4035)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#263A81 #816D26
analogous
#266781 #263A81 #3F2681
triadic
#263A81 #81263A #3A8126
tetradic
#263A81 #812667 #816D26 #26813F
square
#263A81 #812667 #816D26 #26813F
split-complementary
#263A81 #813F26 #678126
monochromatic
#0A0F22 #182552 #263A81 #344FB0 #556FCD

Accessibility & contrast

On white

10.48
#263A81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#263A81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #263A81
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##263A81#FFFFFF#000000##FFFFFF
##263A811.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084483
Deuteranopia (green-blind)
#003B80
Tritanopia (blue-blind)
#004B57
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #263a81;
/* rgb */ color: rgb(38, 58, 129);
/* oklch */ color: oklch(37.5% 0.122 268.1);
Tailwind
colors: {
  custom: {
    50: '#6c6fa6',
    500: '#263a81',
    950: '#000000',
  },
}
SCSS
$custom: #263a81;
$custom-light: #6c6fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#263a81",
  "rgb": {
    "r": 38,
    "g": 58,
    "b": 129
  },
  "hsl": {
    "h": 226.813,
    "s": 54.491,
    "l": 32.745
  },
  "oklch": {
    "l": 0.37547,
    "c": 0.12222,
    "h": 268.1
  },
  "luminance": 0.05023
}

Semantic roles & 50–950 ramp

primary
#263A81
secondary
#B19C51
accent
#BD4ADE
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#08070F
muted
#7A7A7F

Preview Lab

Preview with #263A81

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

Preview Lab → · Contrast checker → · Palette generator →

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