#264C8D#264C8D

#264C8D is a dark, moderate blue. Relative luminance 0.075; OKLCH L 42.5% C 0.116 H 260.4°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#264C8D
RGBrgb(38, 76, 141)
HSLhsl(218, 58%, 35%)
HSVhsv(218, 73%, 55%)
CMYKcmyk(73%, 46.1%, 0%, 44.7%)
CIE-LABlab(32.93, 9.95, -40.06)
CIE-LCHlch(32.93, 41.28, 283.95°)
OKLaboklab(42.49% -0.0194 -0.1147)
OKLCHoklch(42.49% 0.116 260.4)
XYZxyz(8.1898, 7.5032, 26.2108)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#264C8D #8D6726
analogous
#26808D #264C8D #33268D
triadic
#264C8D #8D264C #4C8D26
tetradic
#264C8D #8D2680 #8D6726 #268D33
square
#264C8D #8D2680 #8D6726 #268D33
split-complementary
#264C8D #8D3326 #808D26
monochromatic
#0C182D #19325D #264C8D #3366BD #5B87D3

Accessibility & contrast

On white

8.40
#264C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#264C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #264C8D
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##264C8D#FFFFFF#000000##FFFFFF
##264C8D1.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B538F
Deuteranopia (green-blind)
#17498C
Tritanopia (blue-blind)
#005B65
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #264c8d;
/* rgb */ color: rgb(38, 76, 141);
/* oklch */ color: oklch(42.5% 0.116 260.4);
Tailwind
colors: {
  custom: {
    50: '#6e7daf',
    500: '#264c8d',
    950: '#000000',
  },
}
SCSS
$custom: #264c8d;
$custom-light: #6e7daf;
$custom-dark: #000000;
JSON
{
  "hex": "#264c8d",
  "rgb": {
    "r": 38,
    "g": 76,
    "b": 141
  },
  "hsl": {
    "h": 217.864,
    "s": 57.542,
    "l": 35.098
  },
  "oklch": {
    "l": 0.42491,
    "c": 0.11631,
    "h": 260.4
  },
  "luminance": 0.07504
}

Semantic roles & 50–950 ramp

primary
#264C8D
secondary
#B89457
accent
#A847E1
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #264C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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