#264789#264789

#264789 is a dark, moderate blue. Relative luminance 0.067; OKLCH L 41.1% C 0.117 H 262.5°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#264789
RGBrgb(38, 71, 137)
HSLhsl(220, 57%, 34%)
HSVhsv(220, 72%, 54%)
CMYKcmyk(72.3%, 48.2%, 0%, 46.3%)
CIE-LABlab(31.17, 11.77, -40.42)
CIE-LCHlch(31.17, 42.10, 286.24°)
OKLaboklab(41.06% -0.0153 -0.1158)
OKLCHoklch(41.06% 0.117 262.5)
XYZxyz(7.5663, 6.7239, 24.5611)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#264789 #896826
analogous
#267989 #264789 #372689
triadic
#264789 #892647 #478926
tetradic
#264789 #892679 #896826 #268937
square
#264789 #892679 #896826 #268937
split-complementary
#264789 #893726 #798926
monochromatic
#0B1529 #192E59 #264789 #3360B9 #5981D1

Accessibility & contrast

On white

8.96
#264789 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#264789 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #264789
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##264789#FFFFFF#000000##FFFFFF
##2647891.008.962.358.96
#FFFFFF8.961.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244E8B
Deuteranopia (green-blind)
#0E4588
Tritanopia (blue-blind)
#005661
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #264789;
/* rgb */ color: rgb(38, 71, 137);
/* oklch */ color: oklch(41.1% 0.117 262.5);
Tailwind
colors: {
  custom: {
    50: '#6d79ac',
    500: '#264789',
    950: '#000000',
  },
}
SCSS
$custom: #264789;
$custom-light: #6d79ac;
$custom-dark: #000000;
JSON
{
  "hex": "#264789",
  "rgb": {
    "r": 38,
    "g": 71,
    "b": 137
  },
  "hsl": {
    "h": 220,
    "s": 56.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.41056,
    "c": 0.11684,
    "h": 262.5
  },
  "luminance": 0.06725
}

Semantic roles & 50–950 ramp

primary
#264789
secondary
#B69555
accent
#AD48E0
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #264789

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

Preview Lab → · Contrast checker → · Palette generator →

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