#263387#263387

#263387 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.6% C 0.140 H 271.0°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#263387
RGBrgb(38, 51, 135)
HSLhsl(232, 56%, 34%)
HSVhsv(232, 72%, 53%)
CMYKcmyk(71.9%, 62.2%, 0%, 47.1%)
CIE-LABlab(25.35, 24.72, -48.61)
CIE-LCHlch(25.35, 54.53, 296.95°)
OKLaboklab(36.61% 0.0024 -0.1402)
OKLCHoklch(36.61% 0.14 271)
XYZxyz(6.3548, 4.5284, 23.4561)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#263387 #877A26
analogous
#266487 #263387 #4A2687
triadic
#263387 #872633 #338726
tetradic
#263387 #872664 #877A26 #26874A
square
#263387 #872664 #877A26 #26874A
split-complementary
#263387 #874A26 #648726
monochromatic
#0B0F27 #192157 #263387 #3345B7 #5868D0

Accessibility & contrast

On white

11.02
#263387 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#263387 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #263387
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##263387#FFFFFF#000000##FFFFFF
##2633871.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418A
Deuteranopia (green-blind)
#003885
Tritanopia (blue-blind)
#004858
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #263387;
/* rgb */ color: rgb(38, 51, 135);
/* oklch */ color: oklch(36.6% 0.140 271.0);
Tailwind
colors: {
  custom: {
    50: '#6e6aab',
    500: '#263387',
    950: '#000000',
  },
}
SCSS
$custom: #263387;
$custom-light: #6e6aab;
$custom-dark: #000000;
JSON
{
  "hex": "#263387",
  "rgb": {
    "r": 38,
    "g": 51,
    "b": 135
  },
  "hsl": {
    "h": 231.959,
    "s": 56.069,
    "l": 33.922
  },
  "oklch": {
    "l": 0.36613,
    "c": 0.14024,
    "h": 271
  },
  "luminance": 0.04529
}

Semantic roles & 50–950 ramp

primary
#263387
secondary
#B5A854
accent
#CB48DF
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #263387

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

Preview Lab → · Contrast checker → · Palette generator →

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