#264C8B#264C8B

#264C8B is a dark, moderate blue. Relative luminance 0.074; OKLCH L 42.4% C 0.113 H 259.9°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#264C8B
RGBrgb(38, 76, 139)
HSLhsl(217, 57%, 35%)
HSVhsv(217, 73%, 55%)
CMYKcmyk(72.7%, 45.3%, 0%, 45.5%)
CIE-LABlab(32.80, 9.17, -39.04)
CIE-LCHlch(32.80, 40.10, 283.22°)
OKLaboklab(42.35% -0.0198 -0.1117)
OKLCHoklch(42.35% 0.113 259.9)
XYZxyz(8.0423, 7.4442, 25.4341)
Luminance0.0745 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#264C8B #8B6526
analogous
#267E8B #264C8B #33268B
triadic
#264C8B #8B264C #4C8B26
tetradic
#264C8B #8B267E #8B6526 #268B33
square
#264C8B #8B267E #8B6526 #268B33
split-complementary
#264C8B #8B3326 #7E8B26
monochromatic
#0C172B #19325B #264C8B #3366BB #5A87D2

Accessibility & contrast

On white

8.44
#264C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#264C8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #264C8B
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##264C8B#FFFFFF#000000##FFFFFF
##264C8B1.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D528D
Deuteranopia (green-blind)
#1A498A
Tritanopia (blue-blind)
#005B64
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #264c8b;
/* rgb */ color: rgb(38, 76, 139);
/* oklch */ color: oklch(42.4% 0.113 259.9);
Tailwind
colors: {
  custom: {
    50: '#6e7dad',
    500: '#264c8b',
    950: '#000000',
  },
}
SCSS
$custom: #264c8b;
$custom-light: #6e7dad;
$custom-dark: #000000;
JSON
{
  "hex": "#264c8b",
  "rgb": {
    "r": 38,
    "g": 76,
    "b": 139
  },
  "hsl": {
    "h": 217.426,
    "s": 57.062,
    "l": 34.706
  },
  "oklch": {
    "l": 0.42351,
    "c": 0.11342,
    "h": 259.9
  },
  "luminance": 0.07445
}

Semantic roles & 50–950 ramp

primary
#264C8B
secondary
#B79256
accent
#A747E0
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #264C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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