#2746AB#2746AB

#2746AB is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.6% C 0.166 H 266.4°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#2746AB
RGBrgb(39, 70, 171)
HSLhsl(226, 63%, 41%)
HSVhsv(226, 77%, 67%)
CMYKcmyk(77.2%, 59.1%, 0%, 32.9%)
CIE-LABlab(33.46, 25.77, -57.33)
CIE-LCHlch(33.46, 62.86, 294.21°)
OKLaboklab(43.6% -0.0105 -0.1656)
OKLCHoklch(43.6% 0.166 266.4)
XYZxyz(10.3750, 7.7508, 39.4694)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2746AB #AB8C27
analogous
#2788AB #2746AB #4A27AB
triadic
#2746AB #AB2746 #46AB27
tetradic
#2746AB #AB2788 #AB8C27 #27AB4A
square
#2746AB #AB2788 #AB8C27 #27AB4A
split-complementary
#2746AB #AB4A27 #88AB27
monochromatic
#101D47 #1C3279 #2746AB #3D60D3 #6E89DE

Accessibility & contrast

On white

8.23
#2746AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#2746AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2746AB
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2746AB#FFFFFF#000000##FFFFFF
##2746AB1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AE
Deuteranopia (green-blind)
#0049A9
Tritanopia (blue-blind)
#005F71
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2746ab;
/* rgb */ color: rgb(39, 70, 171);
/* oklch */ color: oklch(43.6% 0.166 266.4);
Tailwind
colors: {
  custom: {
    50: '#7679c5',
    500: '#2746ab',
    950: '#000000',
  },
}
SCSS
$custom: #2746ab;
$custom-light: #7679c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2746ab",
  "rgb": {
    "r": 39,
    "g": 70,
    "b": 171
  },
  "hsl": {
    "h": 225.909,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.43601,
    "c": 0.16589,
    "h": 266.4
  },
  "luminance": 0.07752
}

Semantic roles & 50–950 ramp

primary
#2746AB
secondary
#C5AF69
accent
#BF42E6
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2746AB

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

Preview Lab → · Contrast checker → · Palette generator →

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