#264B87#264B87

#264B87 is a dark, moderate blue. Relative luminance 0.072; OKLCH L 41.8% C 0.109 H 259.6°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#264B87
RGBrgb(38, 75, 135)
HSLhsl(217, 56%, 34%)
HSVhsv(217, 72%, 53%)
CMYKcmyk(71.9%, 44.4%, 0%, 47.1%)
CIE-LABlab(32.24, 8.29, -37.47)
CIE-LCHlch(32.24, 38.38, 282.47°)
OKLaboklab(41.84% -0.0196 -0.1071)
OKLCHoklch(41.84% 0.109 259.6)
XYZxyz(7.6870, 7.1927, 23.9002)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#264B87 #876226
analogous
#267C87 #264B87 #322687
triadic
#264B87 #87264B #4B8726
tetradic
#264B87 #87267C #876226 #268732
square
#264B87 #87267C #876226 #268732
split-complementary
#264B87 #873226 #7C8726
monochromatic
#0B1627 #193057 #264B87 #3366B7 #5885D0

Accessibility & contrast

On white

8.61
#264B87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#264B87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #264B87
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##264B87#FFFFFF#000000##FFFFFF
##264B871.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5189
Deuteranopia (green-blind)
#1D4886
Tritanopia (blue-blind)
#005962
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #264b87;
/* rgb */ color: rgb(38, 75, 135);
/* oklch */ color: oklch(41.8% 0.109 259.6);
Tailwind
colors: {
  custom: {
    50: '#6d7caa',
    500: '#264b87',
    950: '#000000',
  },
}
SCSS
$custom: #264b87;
$custom-light: #6d7caa;
$custom-dark: #000000;
JSON
{
  "hex": "#264b87",
  "rgb": {
    "r": 38,
    "g": 75,
    "b": 135
  },
  "hsl": {
    "h": 217.113,
    "s": 56.069,
    "l": 33.922
  },
  "oklch": {
    "l": 0.4184,
    "c": 0.10887,
    "h": 259.6
  },
  "luminance": 0.07193
}

Semantic roles & 50–950 ramp

primary
#264B87
secondary
#B59054
accent
#A648DF
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #264B87

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

Preview Lab → · Contrast checker → · Palette generator →

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