#264E8F#264E8F

#264E8F is a dark, moderate blue. Relative luminance 0.078; OKLCH L 43.1% C 0.117 H 259.7°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#264E8F
RGBrgb(38, 78, 143)
HSLhsl(217, 58%, 35%)
HSVhsv(217, 73%, 56%)
CMYKcmyk(73.4%, 45.5%, 0%, 43.9%)
CIE-LABlab(33.65, 9.39, -40.12)
CIE-LCHlch(33.65, 41.20, 283.18°)
OKLaboklab(43.09% -0.0209 -0.1148)
OKLCHoklch(43.09% 0.117 259.7)
XYZxyz(8.4799, 7.8431, 27.0482)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#264E8F #8F6726
analogous
#26828F #264E8F #33268F
triadic
#264E8F #8F264E #4E8F26
tetradic
#264E8F #8F2682 #8F6726 #268F33
square
#264E8F #8F2682 #8F6726 #268F33
split-complementary
#264E8F #8F3326 #828F26
monochromatic
#0C192E #19345F #264E8F #3368BF #5C89D4

Accessibility & contrast

On white

8.18
#264E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#264E8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #264E8F
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##264E8F#FFFFFF#000000##FFFFFF
##264E8F1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5491
Deuteranopia (green-blind)
#1A4B8E
Tritanopia (blue-blind)
#005D67
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #264e8f;
/* rgb */ color: rgb(38, 78, 143);
/* oklch */ color: oklch(43.1% 0.117 259.7);
Tailwind
colors: {
  custom: {
    50: '#6e7fb0',
    500: '#264e8f',
    950: '#000000',
  },
}
SCSS
$custom: #264e8f;
$custom-light: #6e7fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#264e8f",
  "rgb": {
    "r": 38,
    "g": 78,
    "b": 143
  },
  "hsl": {
    "h": 217.143,
    "s": 58.011,
    "l": 35.49
  },
  "oklch": {
    "l": 0.43094,
    "c": 0.1167,
    "h": 259.7
  },
  "luminance": 0.07844
}

Semantic roles & 50–950 ramp

primary
#264E8F
secondary
#B99458
accent
#A647E1
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #264E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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