#263391#263391

#263391 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.5% C 0.154 H 270.8°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#263391
RGBrgb(38, 51, 145)
HSLhsl(233, 58%, 36%)
HSVhsv(233, 74%, 57%)
CMYKcmyk(73.8%, 64.8%, 0%, 43.1%)
CIE-LABlab(26.23, 28.49, -53.37)
CIE-LCHlch(26.23, 60.50, 298.10°)
OKLaboklab(37.53% 0.0021 -0.1542)
OKLCHoklch(37.53% 0.154 270.8)
XYZxyz(7.0923, 4.8233, 27.3398)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#263391 #918426
analogous
#266891 #263391 #4E2691
triadic
#263391 #912633 #339126
tetradic
#263391 #912668 #918426 #26914E
square
#263391 #912668 #918426 #26914E
split-complementary
#263391 #914E26 #689126
monochromatic
#0D1130 #192261 #263391 #3344C1 #5D6BD5

Accessibility & contrast

On white

10.69
#263391 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#263391 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #263391
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##263391#FFFFFF#000000##FFFFFF
##2633911.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004394
Deuteranopia (green-blind)
#00398F
Tritanopia (blue-blind)
#004B5D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #263391;
/* rgb */ color: rgb(38, 51, 145);
/* oklch */ color: oklch(37.5% 0.154 270.8);
Tailwind
colors: {
  custom: {
    50: '#716ab2',
    500: '#263391',
    950: '#000000',
  },
}
SCSS
$custom: #263391;
$custom-light: #716ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#263391",
  "rgb": {
    "r": 38,
    "g": 51,
    "b": 145
  },
  "hsl": {
    "h": 232.71,
    "s": 58.47,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37534,
    "c": 0.15421,
    "h": 270.8
  },
  "luminance": 0.04824
}

Semantic roles & 50–950 ramp

primary
#263391
secondary
#BAAE59
accent
#CF46E2
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #263391

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

Preview Lab → · Contrast checker → · Palette generator →

#263391 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva