#264C87#264C87

#264C87 is a dark, moderate blue. Relative luminance 0.073; OKLCH L 42.1% C 0.108 H 259.0°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#264C87
RGBrgb(38, 76, 135)
HSLhsl(216, 56%, 34%)
HSVhsv(216, 72%, 53%)
CMYKcmyk(71.9%, 43.7%, 0%, 47.1%)
CIE-LABlab(32.55, 7.62, -36.98)
CIE-LCHlch(32.55, 37.76, 281.64°)
OKLaboklab(42.08% -0.0206 -0.1056)
OKLCHoklch(42.08% 0.108 259)
XYZxyz(7.7554, 7.3294, 23.9230)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#264C87 #876126
analogous
#267D87 #264C87 #312687
triadic
#264C87 #87264C #4C8726
tetradic
#264C87 #87267D #876126 #268731
square
#264C87 #87267D #876126 #268731
split-complementary
#264C87 #873126 #7D8726
monochromatic
#0B1627 #193157 #264C87 #3367B7 #5887D0

Accessibility & contrast

On white

8.52
#264C87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#264C87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #264C87
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##264C87#FFFFFF#000000##FFFFFF
##264C871.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305189
Deuteranopia (green-blind)
#204886
Tritanopia (blue-blind)
#005A63
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #264c87;
/* rgb */ color: rgb(38, 76, 135);
/* oklch */ color: oklch(42.1% 0.108 259.0);
Tailwind
colors: {
  custom: {
    50: '#6d7daa',
    500: '#264c87',
    950: '#000000',
  },
}
SCSS
$custom: #264c87;
$custom-light: #6d7daa;
$custom-dark: #000000;
JSON
{
  "hex": "#264c87",
  "rgb": {
    "r": 38,
    "g": 76,
    "b": 135
  },
  "hsl": {
    "h": 216.495,
    "s": 56.069,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42075,
    "c": 0.10763,
    "h": 259
  },
  "luminance": 0.0733
}

Semantic roles & 50–950 ramp

primary
#264C87
secondary
#B58F54
accent
#A448DF
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #264C87

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

Preview Lab → · Contrast checker → · Palette generator →

#264C87 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva