#264E87#264E87

#264E87 is a dark, moderate blue. Relative luminance 0.076; OKLCH L 42.5% C 0.105 H 257.6°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#264E87
RGBrgb(38, 78, 135)
HSLhsl(215, 56%, 34%)
HSVhsv(215, 72%, 53%)
CMYKcmyk(71.9%, 42.2%, 0%, 47.1%)
CIE-LABlab(33.16, 6.29, -36.01)
CIE-LCHlch(33.16, 36.56, 279.90°)
OKLaboklab(42.55% -0.0226 -0.1027)
OKLCHoklch(42.55% 0.105 257.6)
XYZxyz(7.8953, 7.6093, 23.9696)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#264E87 #875F26
analogous
#267F87 #264E87 #2F2687
triadic
#264E87 #87264E #4E8726
tetradic
#264E87 #87267F #875F26 #26872F
square
#264E87 #87267F #875F26 #26872F
split-complementary
#264E87 #872F26 #7F8726
monochromatic
#0B1727 #193257 #264E87 #336AB7 #5889D0

Accessibility & contrast

On white

8.33
#264E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#264E87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #264E87
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##264E87#FFFFFF#000000##FFFFFF
##264E871.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335389
Deuteranopia (green-blind)
#244A86
Tritanopia (blue-blind)
#005B64
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #264e87;
/* rgb */ color: rgb(38, 78, 135);
/* oklch */ color: oklch(42.5% 0.105 257.6);
Tailwind
colors: {
  custom: {
    50: '#6d7faa',
    500: '#264e87',
    950: '#000000',
  },
}
SCSS
$custom: #264e87;
$custom-light: #6d7faa;
$custom-dark: #000000;
JSON
{
  "hex": "#264e87",
  "rgb": {
    "r": 38,
    "g": 78,
    "b": 135
  },
  "hsl": {
    "h": 215.258,
    "s": 56.069,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42547,
    "c": 0.10521,
    "h": 257.6
  },
  "luminance": 0.0761
}

Semantic roles & 50–950 ramp

primary
#264E87
secondary
#B58D54
accent
#A148DF
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #264E87

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

Preview Lab → · Contrast checker → · Palette generator →

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