#263291#263291

#263291 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.3% C 0.155 H 271.0°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#263291
RGBrgb(38, 50, 145)
HSLhsl(233, 58%, 36%)
HSVhsv(233, 74%, 57%)
CMYKcmyk(73.8%, 65.5%, 0%, 43.1%)
CIE-LABlab(25.97, 29.16, -53.79)
CIE-LCHlch(25.97, 61.18, 298.46°)
OKLaboklab(37.35% 0.0028 -0.1554)
OKLCHoklch(37.35% 0.155 271)
XYZxyz(7.0490, 4.7369, 27.3254)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#263291 #918526
analogous
#266791 #263291 #4F2691
triadic
#263291 #912632 #329126
tetradic
#263291 #912667 #918526 #26914F
square
#263291 #912667 #918526 #26914F
split-complementary
#263291 #914F26 #679126
monochromatic
#0D1130 #192161 #263291 #3343C1 #5D6AD5

Accessibility & contrast

On white

10.78
#263291 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#263291 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #263291
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##263291#FFFFFF#000000##FFFFFF
##2632911.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #263291;
/* rgb */ color: rgb(38, 50, 145);
/* oklch */ color: oklch(37.3% 0.155 271.0);
Tailwind
colors: {
  custom: {
    50: '#716ab2',
    500: '#263291',
    950: '#000000',
  },
}
SCSS
$custom: #263291;
$custom-light: #716ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#263291",
  "rgb": {
    "r": 38,
    "g": 50,
    "b": 145
  },
  "hsl": {
    "h": 233.271,
    "s": 58.47,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37347,
    "c": 0.15545,
    "h": 271
  },
  "luminance": 0.04738
}

Semantic roles & 50–950 ramp

primary
#263291
secondary
#BAAF59
accent
#D046E2
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #263291

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

Preview Lab → · Contrast checker → · Palette generator →

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