#2746BA#2746BA

#2746BA is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.9% C 0.186 H 266.8°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#2746BA
RGBrgb(39, 70, 186)
HSLhsl(227, 65%, 44%)
HSVhsv(227, 79%, 73%)
CMYKcmyk(79%, 62.4%, 0%, 27.1%)
CIE-LABlab(34.71, 31.45, -64.18)
CIE-LCHlch(34.71, 71.47, 296.11°)
OKLaboklab(44.92% -0.0103 -0.1856)
OKLCHoklch(44.92% 0.186 266.8)
XYZxyz(11.8867, 8.3555, 47.4311)
Luminance0.0836 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2746BA #BA9B27
analogous
#2790BA #2746BA #5227BA
triadic
#2746BA #BA2746 #46BA27
tetradic
#2746BA #BA2790 #BA9B27 #27BA52
square
#2746BA #BA2790 #BA9B27 #27BA52
split-complementary
#2746BA #BA5227 #90BA27
monochromatic
#122055 #1C3387 #2746BA #4665D8 #798FE3

Accessibility & contrast

On white

7.86
#2746BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#2746BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2746BA
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2746BA#FFFFFF#000000##FFFFFF
##2746BA1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BE
Deuteranopia (green-blind)
#004BB8
Tritanopia (blue-blind)
#006479
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2746ba;
/* rgb */ color: rgb(39, 70, 186);
/* oklch */ color: oklch(44.9% 0.186 266.8);
Tailwind
colors: {
  custom: {
    50: '#7979d0',
    500: '#2746ba',
    950: '#000000',
  },
}
SCSS
$custom: #2746ba;
$custom-light: #7979d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2746ba",
  "rgb": {
    "r": 39,
    "g": 70,
    "b": 186
  },
  "hsl": {
    "h": 227.347,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.44923,
    "c": 0.18593,
    "h": 266.8
  },
  "luminance": 0.08357
}

Semantic roles & 50–950 ramp

primary
#2746BA
secondary
#CBB872
accent
#C540E8
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #2746BA

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

Preview Lab → · Contrast checker → · Palette generator →

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