#263281#263281

#263281 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 35.9% C 0.133 H 271.4°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#263281
RGBrgb(38, 50, 129)
HSLhsl(232, 54%, 33%)
HSVhsv(232, 71%, 51%)
CMYKcmyk(70.5%, 61.2%, 0%, 49.4%)
CIE-LABlab(24.57, 23.12, -46.12)
CIE-LCHlch(24.57, 51.59, 296.62°)
OKLaboklab(35.88% 0.0033 -0.1329)
OKLCHoklch(35.88% 0.133 271.4)
XYZxyz(5.9010, 4.2777, 21.2793)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#263281 #817526
analogous
#265F81 #263281 #472681
triadic
#263281 #812632 #328126
tetradic
#263281 #81265F #817526 #268147
square
#263281 #81265F #817526 #268147
split-complementary
#263281 #814726 #5F8126
monochromatic
#0A0D22 #182052 #263281 #3444B0 #5564CD

Accessibility & contrast

On white

11.32
#263281 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#263281 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #263281
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##263281#FFFFFF#000000##FFFFFF
##2632811.0011.321.8611.32
#FFFFFF11.321.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F84
Deuteranopia (green-blind)
#00367F
Tritanopia (blue-blind)
#004654
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #263281;
/* rgb */ color: rgb(38, 50, 129);
/* oklch */ color: oklch(35.9% 0.133 271.4);
Tailwind
colors: {
  custom: {
    50: '#6d69a6',
    500: '#263281',
    950: '#000000',
  },
}
SCSS
$custom: #263281;
$custom-light: #6d69a6;
$custom-dark: #000000;
JSON
{
  "hex": "#263281",
  "rgb": {
    "r": 38,
    "g": 50,
    "b": 129
  },
  "hsl": {
    "h": 232.088,
    "s": 54.491,
    "l": 32.745
  },
  "oklch": {
    "l": 0.35877,
    "c": 0.13296,
    "h": 271.4
  },
  "luminance": 0.04278
}

Semantic roles & 50–950 ramp

primary
#263281
secondary
#B1A551
accent
#CA4ADE
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08060F
muted
#7A7A7F

Preview Lab

Preview with #263281

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

Preview Lab → · Contrast checker → · Palette generator →

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