#264C8A#264C8A

#264C8A is a dark, moderate blue. Relative luminance 0.074; OKLCH L 42.3% C 0.112 H 259.7°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#264C8A
RGBrgb(38, 76, 138)
HSLhsl(217, 57%, 35%)
HSVhsv(217, 72%, 54%)
CMYKcmyk(72.5%, 44.9%, 0%, 45.9%)
CIE-LABlab(32.73, 8.79, -38.53)
CIE-LCHlch(32.73, 39.52, 282.85°)
OKLaboklab(42.28% -0.02 -0.1102)
OKLCHoklch(42.28% 0.112 259.7)
XYZxyz(7.9696, 7.4151, 25.0511)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#264C8A #8A6426
analogous
#267E8A #264C8A #32268A
triadic
#264C8A #8A264C #4C8A26
tetradic
#264C8A #8A267E #8A6426 #268A32
square
#264C8A #8A267E #8A6426 #268A32
split-complementary
#264C8A #8A3226 #7E8A26
monochromatic
#0C172A #19325A #264C8A #3366BA #5987D1

Accessibility & contrast

On white

8.46
#264C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#264C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #264C8A
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##264C8A#FFFFFF#000000##FFFFFF
##264C8A1.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E528C
Deuteranopia (green-blind)
#1C4989
Tritanopia (blue-blind)
#005A64
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #264c8a;
/* rgb */ color: rgb(38, 76, 138);
/* oklch */ color: oklch(42.3% 0.112 259.7);
Tailwind
colors: {
  custom: {
    50: '#6d7dac',
    500: '#264c8a',
    950: '#000000',
  },
}
SCSS
$custom: #264c8a;
$custom-light: #6d7dac;
$custom-dark: #000000;
JSON
{
  "hex": "#264c8a",
  "rgb": {
    "r": 38,
    "g": 76,
    "b": 138
  },
  "hsl": {
    "h": 217.2,
    "s": 56.818,
    "l": 34.51
  },
  "oklch": {
    "l": 0.42281,
    "c": 0.11198,
    "h": 259.7
  },
  "luminance": 0.07416
}

Semantic roles & 50–950 ramp

primary
#264C8A
secondary
#B69156
accent
#A648E0
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #264C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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