#2745A6#2745A6

#2745A6 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.0% C 0.160 H 266.5°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#2745A6
RGBrgb(39, 69, 166)
HSLhsl(226, 62%, 40%)
HSVhsv(226, 77%, 65%)
CMYKcmyk(76.5%, 58.4%, 0%, 34.9%)
CIE-LABlab(32.79, 24.53, -55.43)
CIE-LCHlch(32.79, 60.62, 293.87°)
OKLaboklab(42.97% -0.0099 -0.16)
OKLCHoklch(42.97% 0.16 266.5)
XYZxyz(9.8453, 7.4397, 36.9861)
Luminance0.0744 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2745A6 #A68827
analogous
#2784A6 #2745A6 #4927A6
triadic
#2745A6 #A62745 #45A627
tetradic
#2745A6 #A62784 #A68827 #27A649
square
#2745A6 #A62784 #A68827 #27A649
split-complementary
#2745A6 #A64927 #84A627
monochromatic
#101C43 #1B3074 #2745A6 #3A5DD1 #6B86DC

Accessibility & contrast

On white

8.44
#2745A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#2745A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2745A6
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2745A6#FFFFFF#000000##FFFFFF
##2745A61.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A9
Deuteranopia (green-blind)
#0047A4
Tritanopia (blue-blind)
#005D6E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2745a6;
/* rgb */ color: rgb(39, 69, 166);
/* oklch */ color: oklch(43.0% 0.160 266.5);
Tailwind
colors: {
  custom: {
    50: '#7578c1',
    500: '#2745a6',
    950: '#000000',
  },
}
SCSS
$custom: #2745a6;
$custom-light: #7578c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2745a6",
  "rgb": {
    "r": 39,
    "g": 69,
    "b": 166
  },
  "hsl": {
    "h": 225.827,
    "s": 61.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.42973,
    "c": 0.16031,
    "h": 266.5
  },
  "luminance": 0.07441
}

Semantic roles & 50–950 ramp

primary
#2745A6
secondary
#C3AD66
accent
#BF43E5
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2745A6

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

Preview Lab → · Contrast checker → · Palette generator →

#2745A6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva