#263393#263393

#263393 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.7% C 0.157 H 270.7°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#263393
RGBrgb(38, 51, 147)
HSLhsl(233, 59%, 36%)
HSVhsv(233, 74%, 58%)
CMYKcmyk(74.1%, 65.3%, 0%, 42.4%)
CIE-LABlab(26.41, 29.24, -54.31)
CIE-LCHlch(26.41, 61.68, 298.30°)
OKLaboklab(37.72% 0.002 -0.1569)
OKLCHoklch(37.72% 0.157 270.7)
XYZxyz(7.2478, 4.8856, 28.1591)
Luminance0.0489 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#263393 #938626
analogous
#266A93 #263393 #502693
triadic
#263393 #932633 #339326
tetradic
#263393 #93266A #938626 #269350
square
#263393 #93266A #938626 #269350
split-complementary
#263393 #935026 #6A9326
monochromatic
#0D1132 #192262 #263393 #3344C4 #5E6CD5

Accessibility & contrast

On white

10.62
#263393 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#263393 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #263393
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##263393#FFFFFF#000000##FFFFFF
##2633931.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004496
Deuteranopia (green-blind)
#003991
Tritanopia (blue-blind)
#004C5E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #263393;
/* rgb */ color: rgb(38, 51, 147);
/* oklch */ color: oklch(37.7% 0.157 270.7);
Tailwind
colors: {
  custom: {
    50: '#716ab4',
    500: '#263393',
    950: '#000000',
  },
}
SCSS
$custom: #263393;
$custom-light: #716ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#263393",
  "rgb": {
    "r": 38,
    "g": 51,
    "b": 147
  },
  "hsl": {
    "h": 232.844,
    "s": 58.919,
    "l": 36.275
  },
  "oklch": {
    "l": 0.37722,
    "c": 0.15695,
    "h": 270.7
  },
  "luminance": 0.04886
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #263393

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

Preview Lab → · Contrast checker → · Palette generator →

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