#2746AE#2746AE

#2746AE is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.9% C 0.170 H 266.5°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#2746AE
RGBrgb(39, 70, 174)
HSLhsl(226, 63%, 42%)
HSVhsv(226, 78%, 68%)
CMYKcmyk(77.6%, 59.8%, 0%, 31.8%)
CIE-LABlab(33.70, 26.92, -58.72)
CIE-LCHlch(33.70, 64.60, 294.63°)
OKLaboklab(43.86% -0.0104 -0.1696)
OKLCHoklch(43.86% 0.17 266.5)
XYZxyz(10.6642, 7.8664, 40.9925)
Luminance0.0787 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2746AE #AE8F27
analogous
#278AAE #2746AE #4C27AE
triadic
#2746AE #AE2746 #46AE27
tetradic
#2746AE #AE278A #AE8F27 #27AE4C
square
#2746AE #AE278A #AE8F27 #27AE4C
split-complementary
#2746AE #AE4C27 #8AAE27
monochromatic
#111E4A #1C327C #2746AE #3E61D4 #708ADF

Accessibility & contrast

On white

8.16
#2746AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#2746AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2746AE
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2746AE#FFFFFF#000000##FFFFFF
##2746AE1.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B1
Deuteranopia (green-blind)
#0049AC
Tritanopia (blue-blind)
#006073
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2746ae;
/* rgb */ color: rgb(39, 70, 174);
/* oklch */ color: oklch(43.9% 0.170 266.5);
Tailwind
colors: {
  custom: {
    50: '#7779c7',
    500: '#2746ae',
    950: '#000000',
  },
}
SCSS
$custom: #2746ae;
$custom-light: #7779c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2746ae",
  "rgb": {
    "r": 39,
    "g": 70,
    "b": 174
  },
  "hsl": {
    "h": 226.222,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.4386,
    "c": 0.16996,
    "h": 266.5
  },
  "luminance": 0.07868
}

Semantic roles & 50–950 ramp

primary
#2746AE
secondary
#C6B16B
accent
#C141E6
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2746AE

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

Preview Lab → · Contrast checker → · Palette generator →

#2746AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva