#264678#264678

#264678 is a dark, moderate blue. Relative luminance 0.061; OKLCH L 39.6% C 0.093 H 259.0°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#264678
RGBrgb(38, 70, 120)
HSLhsl(217, 52%, 31%)
HSVhsv(217, 68%, 47%)
CMYKcmyk(68.3%, 41.7%, 0%, 52.9%)
CIE-LABlab(29.78, 5.85, -32.07)
CIE-LCHlch(29.78, 32.60, 280.34°)
OKLaboklab(39.64% -0.0177 -0.0913)
OKLCHoklch(39.64% 0.093 259)
XYZxyz(6.3784, 6.1478, 18.6162)
Luminance0.0615 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#264678 #785826
analogous
#266F78 #264678 #2F2678
triadic
#264678 #782646 #467826
tetradic
#264678 #78266F #785826 #26782F
square
#264678 #78266F #785826 #26782F
split-complementary
#264678 #782F26 #6F7826
monochromatic
#09101B #172B4A #264678 #3561A6 #517FC8

Accessibility & contrast

On white

9.42
#264678 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#264678 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #264678
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##264678#FFFFFF#000000##FFFFFF
##2646781.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4A7A
Deuteranopia (green-blind)
#234377
Tritanopia (blue-blind)
#005159
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #264678;
/* rgb */ color: rgb(38, 70, 120);
/* oklch */ color: oklch(39.6% 0.093 259.0);
Tailwind
colors: {
  custom: {
    50: '#6a799f',
    500: '#264678',
    950: '#000000',
  },
}
SCSS
$custom: #264678;
$custom-light: #6a799f;
$custom-dark: #000000;
JSON
{
  "hex": "#264678",
  "rgb": {
    "r": 38,
    "g": 70,
    "b": 120
  },
  "hsl": {
    "h": 216.585,
    "s": 51.899,
    "l": 30.98
  },
  "oklch": {
    "l": 0.39636,
    "c": 0.09301,
    "h": 259
  },
  "luminance": 0.06148
}

Semantic roles & 50–950 ramp

primary
#264678
secondary
#AA8750
accent
#A44CDB
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #264678

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

Preview Lab → · Contrast checker → · Palette generator →

#264678 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva