#264C8C#264C8C

#264C8C is a dark, moderate blue. Relative luminance 0.075; OKLCH L 42.4% C 0.115 H 260.2°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#264C8C
RGBrgb(38, 76, 140)
HSLhsl(218, 57%, 35%)
HSVhsv(218, 73%, 55%)
CMYKcmyk(72.9%, 45.7%, 0%, 45.1%)
CIE-LABlab(32.86, 9.56, -39.55)
CIE-LCHlch(32.86, 40.69, 283.59°)
OKLaboklab(42.42% -0.0196 -0.1132)
OKLCHoklch(42.42% 0.115 260.2)
XYZxyz(8.1157, 7.4735, 25.8207)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#264C8C #8C6626
analogous
#267F8C #264C8C #33268C
triadic
#264C8C #8C264C #4C8C26
tetradic
#264C8C #8C267F #8C6626 #268C33
square
#264C8C #8C267F #8C6626 #268C33
split-complementary
#264C8C #8C3326 #7F8C26
monochromatic
#0C182C #19325C #264C8C #3366BC #5A87D2

Accessibility & contrast

On white

8.42
#264C8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #264C8C
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##264C8C#FFFFFF#000000##FFFFFF
##264C8C1.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C528E
Deuteranopia (green-blind)
#19498B
Tritanopia (blue-blind)
#005B65
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #264c8c;
/* rgb */ color: rgb(38, 76, 140);
/* oklch */ color: oklch(42.4% 0.115 260.2);
Tailwind
colors: {
  custom: {
    50: '#6e7dae',
    500: '#264c8c',
    950: '#000000',
  },
}
SCSS
$custom: #264c8c;
$custom-light: #6e7dae;
$custom-dark: #000000;
JSON
{
  "hex": "#264c8c",
  "rgb": {
    "r": 38,
    "g": 76,
    "b": 140
  },
  "hsl": {
    "h": 217.647,
    "s": 57.303,
    "l": 34.902
  },
  "oklch": {
    "l": 0.42421,
    "c": 0.11486,
    "h": 260.2
  },
  "luminance": 0.07474
}

Semantic roles & 50–950 ramp

primary
#264C8C
secondary
#B79357
accent
#A747E1
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #264C8C

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

Preview Lab → · Contrast checker → · Palette generator →

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