#264687#264687

#264687 is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.7% C 0.115 H 262.7°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#264687
RGBrgb(38, 70, 135)
HSLhsl(220, 56%, 34%)
HSVhsv(220, 72%, 53%)
CMYKcmyk(71.9%, 48.1%, 0%, 47.1%)
CIE-LABlab(30.74, 11.67, -39.88)
CIE-LCHlch(30.74, 41.55, 286.31°)
OKLaboklab(40.68% -0.0147 -0.1143)
OKLCHoklch(40.68% 0.115 262.7)
XYZxyz(7.3611, 6.5409, 23.7916)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#264687 #876726
analogous
#267787 #264687 #372687
triadic
#264687 #872646 #468726
tetradic
#264687 #872677 #876726 #268737
square
#264687 #872677 #876726 #268737
split-complementary
#264687 #873726 #778726
monochromatic
#0B1427 #192D57 #264687 #335FB7 #587FD0

Accessibility & contrast

On white

9.10
#264687 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #264687
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##264687#FFFFFF#000000##FFFFFF
##2646871.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244D89
Deuteranopia (green-blind)
#0F4486
Tritanopia (blue-blind)
#005560
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #264687;
/* rgb */ color: rgb(38, 70, 135);
/* oklch */ color: oklch(40.7% 0.115 262.7);
Tailwind
colors: {
  custom: {
    50: '#6d79aa',
    500: '#264687',
    950: '#000000',
  },
}
SCSS
$custom: #264687;
$custom-light: #6d79aa;
$custom-dark: #000000;
JSON
{
  "hex": "#264687",
  "rgb": {
    "r": 38,
    "g": 70,
    "b": 135
  },
  "hsl": {
    "h": 220.206,
    "s": 56.069,
    "l": 33.922
  },
  "oklch": {
    "l": 0.40682,
    "c": 0.1152,
    "h": 262.7
  },
  "luminance": 0.06542
}

Semantic roles & 50–950 ramp

primary
#264687
secondary
#B59554
accent
#AE48DF
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #264687

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

Preview Lab → · Contrast checker → · Palette generator →

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