#264E8A#264E8A

#264E8A is a dark, moderate blue. Relative luminance 0.077; OKLCH L 42.7% C 0.110 H 258.4°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#264E8A
RGBrgb(38, 78, 138)
HSLhsl(216, 57%, 35%)
HSVhsv(216, 72%, 54%)
CMYKcmyk(72.5%, 43.5%, 0%, 45.9%)
CIE-LABlab(33.34, 7.45, -37.56)
CIE-LCHlch(33.34, 38.29, 281.22°)
OKLaboklab(42.75% -0.022 -0.1073)
OKLCHoklch(42.75% 0.11 258.4)
XYZxyz(8.1095, 7.6950, 25.0977)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#264E8A #8A6226
analogous
#26808A #264E8A #30268A
triadic
#264E8A #8A264E #4E8A26
tetradic
#264E8A #8A2680 #8A6226 #268A30
square
#264E8A #8A2680 #8A6226 #268A30
split-complementary
#264E8A #8A3026 #808A26
monochromatic
#0C182A #19335A #264E8A #3369BA #5989D1

Accessibility & contrast

On white

8.27
#264E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#264E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #264E8A
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##264E8A#FFFFFF#000000##FFFFFF
##264E8A1.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31538C
Deuteranopia (green-blind)
#204A89
Tritanopia (blue-blind)
#005C65
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #264e8a;
/* rgb */ color: rgb(38, 78, 138);
/* oklch */ color: oklch(42.7% 0.110 258.4);
Tailwind
colors: {
  custom: {
    50: '#6d7fac',
    500: '#264e8a',
    950: '#000000',
  },
}
SCSS
$custom: #264e8a;
$custom-light: #6d7fac;
$custom-dark: #000000;
JSON
{
  "hex": "#264e8a",
  "rgb": {
    "r": 38,
    "g": 78,
    "b": 138
  },
  "hsl": {
    "h": 216,
    "s": 56.818,
    "l": 34.51
  },
  "oklch": {
    "l": 0.42749,
    "c": 0.10953,
    "h": 258.4
  },
  "luminance": 0.07696
}

Semantic roles & 50–950 ramp

primary
#264E8A
secondary
#B69056
accent
#A348E0
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #264E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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