#264A87#264A87

#264A87 is a dark, moderate blue. Relative luminance 0.071; OKLCH L 41.6% C 0.110 H 260.3°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#264A87
RGBrgb(38, 74, 135)
HSLhsl(218, 56%, 34%)
HSVhsv(218, 72%, 53%)
CMYKcmyk(71.9%, 45.2%, 0%, 47.1%)
CIE-LABlab(31.94, 8.96, -37.95)
CIE-LCHlch(31.94, 39.00, 283.28°)
OKLaboklab(41.61% -0.0186 -0.1085)
OKLCHoklch(41.61% 0.11 260.3)
XYZxyz(7.6197, 7.0581, 23.8778)
Luminance0.0706 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#264A87 #876326
analogous
#267B87 #264A87 #332687
triadic
#264A87 #87264A #4A8726
tetradic
#264A87 #87267B #876326 #268733
square
#264A87 #87267B #876326 #268733
split-complementary
#264A87 #873326 #7B8726
monochromatic
#0B1627 #193057 #264A87 #3364B7 #5884D0

Accessibility & contrast

On white

8.71
#264A87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#264A87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #264A87
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##264A87#FFFFFF#000000##FFFFFF
##264A871.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5089
Deuteranopia (green-blind)
#1B4786
Tritanopia (blue-blind)
#005862
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #264a87;
/* rgb */ color: rgb(38, 74, 135);
/* oklch */ color: oklch(41.6% 0.110 260.3);
Tailwind
colors: {
  custom: {
    50: '#6d7caa',
    500: '#264a87',
    950: '#000000',
  },
}
SCSS
$custom: #264a87;
$custom-light: #6d7caa;
$custom-dark: #000000;
JSON
{
  "hex": "#264a87",
  "rgb": {
    "r": 38,
    "g": 74,
    "b": 135
  },
  "hsl": {
    "h": 217.732,
    "s": 56.069,
    "l": 33.922
  },
  "oklch": {
    "l": 0.41606,
    "c": 0.11012,
    "h": 260.3
  },
  "luminance": 0.07059
}

Semantic roles & 50–950 ramp

primary
#264A87
secondary
#B59154
accent
#A748DF
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #264A87

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

Preview Lab → · Contrast checker → · Palette generator →

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