#263AA6#263AA6

#263AA6 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.8% C 0.174 H 268.8°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#263AA6
RGBrgb(38, 58, 166)
HSLhsl(231, 63%, 40%)
HSVhsv(231, 77%, 65%)
CMYKcmyk(77.1%, 65.1%, 0%, 34.9%)
CIE-LABlab(29.89, 31.72, -60.17)
CIE-LCHlch(29.89, 68.02, 297.80°)
OKLaboklab(40.81% -0.0035 -0.174)
OKLCHoklch(40.81% 0.174 268.8)
XYZxyz(9.1929, 6.1903, 36.7794)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#263AA6 #A69226
analogous
#267AA6 #263AA6 #5226A6
triadic
#263AA6 #A6263A #3AA626
tetradic
#263AA6 #A6267A #A69226 #26A652
square
#263AA6 #A6267A #A69226 #26A652
split-complementary
#263AA6 #A65226 #7AA626
monochromatic
#0F1742 #1B2974 #263AA6 #3850D1 #6A7CDD

Accessibility & contrast

On white

9.38
#263AA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#263AA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #263AA6
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##263AA6#FFFFFF#000000##FFFFFF
##263AA61.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA9
Deuteranopia (green-blind)
#0040A4
Tritanopia (blue-blind)
#00566A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #263aa6;
/* rgb */ color: rgb(38, 58, 166);
/* oklch */ color: oklch(40.8% 0.174 268.8);
Tailwind
colors: {
  custom: {
    50: '#7570c1',
    500: '#263aa6',
    950: '#000000',
  },
}
SCSS
$custom: #263aa6;
$custom-light: #7570c1;
$custom-dark: #000000;
JSON
{
  "hex": "#263aa6",
  "rgb": {
    "r": 38,
    "g": 58,
    "b": 166
  },
  "hsl": {
    "h": 230.625,
    "s": 62.745,
    "l": 40
  },
  "oklch": {
    "l": 0.40809,
    "c": 0.17409,
    "h": 268.8
  },
  "luminance": 0.06191
}

Semantic roles & 50–950 ramp

primary
#263AA6
secondary
#C3B465
accent
#CC42E6
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #263AA6

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

Preview Lab → · Contrast checker → · Palette generator →

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