#264688#264688

#264688 is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.8% C 0.117 H 262.9°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#264688
RGBrgb(38, 70, 136)
HSLhsl(220, 56%, 34%)
HSVhsv(220, 72%, 53%)
CMYKcmyk(72.1%, 48.5%, 0%, 46.7%)
CIE-LABlab(30.81, 12.06, -40.39)
CIE-LCHlch(30.81, 42.15, 286.63°)
OKLaboklab(40.76% -0.0145 -0.1158)
OKLCHoklch(40.76% 0.117 262.9)
XYZxyz(7.4318, 6.5692, 24.1641)
Luminance0.0657 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#264688 #886826
analogous
#267788 #264688 #372688
triadic
#264688 #882646 #468826
tetradic
#264688 #882677 #886826 #268837
square
#264688 #882677 #886826 #268837
split-complementary
#264688 #883726 #778826
monochromatic
#0B1528 #192D58 #264688 #335FB8 #587FD0

Accessibility & contrast

On white

9.08
#264688 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#264688 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #264688
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##264688#FFFFFF#000000##FFFFFF
##2646881.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234D8A
Deuteranopia (green-blind)
#0C4487
Tritanopia (blue-blind)
#005560
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #264688;
/* rgb */ color: rgb(38, 70, 136);
/* oklch */ color: oklch(40.8% 0.117 262.9);
Tailwind
colors: {
  custom: {
    50: '#6d79ab',
    500: '#264688',
    950: '#000000',
  },
}
SCSS
$custom: #264688;
$custom-light: #6d79ab;
$custom-dark: #000000;
JSON
{
  "hex": "#264688",
  "rgb": {
    "r": 38,
    "g": 70,
    "b": 136
  },
  "hsl": {
    "h": 220.408,
    "s": 56.322,
    "l": 34.118
  },
  "oklch": {
    "l": 0.40755,
    "c": 0.11667,
    "h": 262.9
  },
  "luminance": 0.0657
}

Semantic roles & 50–950 ramp

primary
#264688
secondary
#B59655
accent
#AE48E0
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #264688

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

Preview Lab → · Contrast checker → · Palette generator →

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