#2745AD#2745AD

#2745AD is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.6% C 0.170 H 266.7°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#2745AD
RGBrgb(39, 69, 173)
HSLhsl(227, 63%, 42%)
HSVhsv(227, 77%, 68%)
CMYKcmyk(77.5%, 60.1%, 0%, 32.2%)
CIE-LABlab(33.36, 27.20, -58.69)
CIE-LCHlch(33.36, 64.69, 294.87°)
OKLaboklab(43.58% -0.0097 -0.1696)
OKLCHoklch(43.58% 0.17 266.7)
XYZxyz(10.5050, 7.7035, 40.4603)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2745AD #AD8F27
analogous
#2788AD #2745AD #4C27AD
triadic
#2745AD #AD2745 #45AD27
tetradic
#2745AD #AD2788 #AD8F27 #27AD4C
square
#2745AD #AD2788 #AD8F27 #27AD4C
split-complementary
#2745AD #AD4C27 #88AD27
monochromatic
#101D49 #1C317B #2745AD #3E5FD3 #7089DF

Accessibility & contrast

On white

8.26
#2745AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#2745AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2745AD
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2745AD#FFFFFF#000000##FFFFFF
##2745AD1.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B0
Deuteranopia (green-blind)
#0048AB
Tritanopia (blue-blind)
#005F72
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2745ad;
/* rgb */ color: rgb(39, 69, 173);
/* oklch */ color: oklch(43.6% 0.170 266.7);
Tailwind
colors: {
  custom: {
    50: '#7678c6',
    500: '#2745ad',
    950: '#000000',
  },
}
SCSS
$custom: #2745ad;
$custom-light: #7678c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2745ad",
  "rgb": {
    "r": 39,
    "g": 69,
    "b": 173
  },
  "hsl": {
    "h": 226.567,
    "s": 63.208,
    "l": 41.569
  },
  "oklch": {
    "l": 0.43577,
    "c": 0.16984,
    "h": 266.7
  },
  "luminance": 0.07705
}

Semantic roles & 50–950 ramp

primary
#2745AD
secondary
#C6B16A
accent
#C142E6
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2745AD

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

Preview Lab → · Contrast checker → · Palette generator →

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