#264787#264787

#264787 is a dark, moderate blue. Relative luminance 0.067; OKLCH L 40.9% C 0.114 H 262.1°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#264787
RGBrgb(38, 71, 135)
HSLhsl(220, 56%, 34%)
HSVhsv(220, 72%, 53%)
CMYKcmyk(71.9%, 47.4%, 0%, 47.1%)
CIE-LABlab(31.04, 10.99, -39.40)
CIE-LCHlch(31.04, 40.90, 285.59°)
OKLaboklab(40.91% -0.0157 -0.1128)
OKLCHoklch(40.91% 0.114 262.1)
XYZxyz(7.4242, 6.6670, 23.8126)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#264787 #876626
analogous
#267887 #264787 #362687
triadic
#264787 #872647 #478726
tetradic
#264787 #872678 #876626 #268736
square
#264787 #872678 #876626 #268736
split-complementary
#264787 #873626 #788726
monochromatic
#0B1527 #192E57 #264787 #3360B7 #5880D0

Accessibility & contrast

On white

9.00
#264787 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#264787 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #264787
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##264787#FFFFFF#000000##FFFFFF
##2647871.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264E89
Deuteranopia (green-blind)
#124586
Tritanopia (blue-blind)
#005660
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #264787;
/* rgb */ color: rgb(38, 71, 135);
/* oklch */ color: oklch(40.9% 0.114 262.1);
Tailwind
colors: {
  custom: {
    50: '#6d79aa',
    500: '#264787',
    950: '#000000',
  },
}
SCSS
$custom: #264787;
$custom-light: #6d79aa;
$custom-dark: #000000;
JSON
{
  "hex": "#264787",
  "rgb": {
    "r": 38,
    "g": 71,
    "b": 135
  },
  "hsl": {
    "h": 219.588,
    "s": 56.069,
    "l": 33.922
  },
  "oklch": {
    "l": 0.40911,
    "c": 0.11391,
    "h": 262.1
  },
  "luminance": 0.06668
}

Semantic roles & 50–950 ramp

primary
#264787
secondary
#B59454
accent
#AC48DF
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #264787

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

Preview Lab → · Contrast checker → · Palette generator →

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