#264786#264786

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

Color values

HEX#264786
RGBrgb(38, 71, 134)
HSLhsl(219, 56%, 34%)
HSVhsv(219, 72%, 53%)
CMYKcmyk(71.6%, 47%, 0%, 47.5%)
CIE-LABlab(30.97, 10.60, -38.89)
CIE-LCHlch(30.97, 40.31, 285.25°)
OKLaboklab(40.84% -0.0158 -0.1113)
OKLCHoklch(40.84% 0.112 261.9)
XYZxyz(7.3541, 6.6390, 23.4435)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#264786 #866526
analogous
#267786 #264786 #352686
triadic
#264786 #862647 #478626
tetradic
#264786 #862677 #866526 #268635
square
#264786 #862677 #866526 #268635
split-complementary
#264786 #863526 #778626
monochromatic
#0B1427 #182E56 #264786 #3460B6 #5780CF

Accessibility & contrast

On white

9.02
#264786 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #264786
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##264786#FFFFFF#000000##FFFFFF
##2647861.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274E88
Deuteranopia (green-blind)
#144585
Tritanopia (blue-blind)
#005660
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #264786;
/* rgb */ color: rgb(38, 71, 134);
/* oklch */ color: oklch(40.8% 0.112 261.9);
Tailwind
colors: {
  custom: {
    50: '#6d79aa',
    500: '#264786',
    950: '#000000',
  },
}
SCSS
$custom: #264786;
$custom-light: #6d79aa;
$custom-dark: #000000;
JSON
{
  "hex": "#264786",
  "rgb": {
    "r": 38,
    "g": 71,
    "b": 134
  },
  "hsl": {
    "h": 219.375,
    "s": 55.814,
    "l": 33.725
  },
  "oklch": {
    "l": 0.40839,
    "c": 0.11245,
    "h": 261.9
  },
  "luminance": 0.0664
}

Semantic roles & 50–950 ramp

primary
#264786
secondary
#B49354
accent
#AB49DF
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #264786

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

Preview Lab → · Contrast checker → · Palette generator →

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