#263187#263187

#263187 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.2% C 0.143 H 271.6°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#263187
RGBrgb(38, 49, 135)
HSLhsl(233, 56%, 34%)
HSVhsv(233, 72%, 53%)
CMYKcmyk(71.9%, 63.7%, 0%, 47.1%)
CIE-LABlab(24.82, 26.08, -49.47)
CIE-LCHlch(24.82, 55.92, 297.80°)
OKLaboklab(36.22% 0.004 -0.1428)
OKLCHoklch(36.22% 0.143 271.6)
XYZxyz(6.2693, 4.3574, 23.4276)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#263187 #877C26
analogous
#266287 #263187 #4C2687
triadic
#263187 #872631 #318726
tetradic
#263187 #872662 #877C26 #26874C
square
#263187 #872662 #877C26 #26874C
split-complementary
#263187 #874C26 #628726
monochromatic
#0B0E27 #192057 #263187 #3342B7 #5865D0

Accessibility & contrast

On white

11.22
#263187 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#263187 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #263187
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##263187#FFFFFF#000000##FFFFFF
##2631871.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8A
Deuteranopia (green-blind)
#003785
Tritanopia (blue-blind)
#004757
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #263187;
/* rgb */ color: rgb(38, 49, 135);
/* oklch */ color: oklch(36.2% 0.143 271.6);
Tailwind
colors: {
  custom: {
    50: '#6e69ab',
    500: '#263187',
    950: '#000000',
  },
}
SCSS
$custom: #263187;
$custom-light: #6e69ab;
$custom-dark: #000000;
JSON
{
  "hex": "#263187",
  "rgb": {
    "r": 38,
    "g": 49,
    "b": 135
  },
  "hsl": {
    "h": 233.196,
    "s": 56.069,
    "l": 33.922
  },
  "oklch": {
    "l": 0.36223,
    "c": 0.14282,
    "h": 271.6
  },
  "luminance": 0.04358
}

Semantic roles & 50–950 ramp

primary
#263187
secondary
#B5AA54
accent
#CE48DF
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #263187

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

Preview Lab → · Contrast checker → · Palette generator →

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