#2D45AE#2D45AE

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

Color values

HEX#2D45AE
RGBrgb(45, 69, 174)
HSLhsl(229, 59%, 43%)
HSVhsv(229, 74%, 68%)
CMYKcmyk(74.1%, 60.3%, 0%, 31.8%)
CIE-LABlab(33.71, 28.27, -58.70)
CIE-LCHlch(33.71, 65.15, 295.72°)
OKLaboklab(43.94% -0.0044 -0.1695)
OKLCHoklch(43.94% 0.17 268.5)
XYZxyz(10.8477, 7.8690, 40.9834)
Luminance0.0787 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D45AE #AE962D
analogous
#2D85AE #2D45AE #552DAE
triadic
#2D45AE #AE2D45 #45AE2D
tetradic
#2D45AE #AE2D85 #AE962D #2DAE55
square
#2D45AE #AE2D85 #AE962D #2DAE55
split-complementary
#2D45AE #AE552D #85AE2D
monochromatic
#141E4D #20327D #2D45AE #4862D0 #798CDC

Accessibility & contrast

On white

8.16
#2D45AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#2D45AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D45AE
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D45AE#FFFFFF#000000##FFFFFF
##2D45AE1.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)
#0055B1
Deuteranopia (green-blind)
#0049AC
Tritanopia (blue-blind)
#006073
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2d45ae;
/* rgb */ color: rgb(45, 69, 174);
/* oklch */ color: oklch(43.9% 0.170 268.5);
Tailwind
colors: {
  custom: {
    50: '#7978c7',
    500: '#2d45ae',
    950: '#000000',
  },
}
SCSS
$custom: #2d45ae;
$custom-light: #7978c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2d45ae",
  "rgb": {
    "r": 45,
    "g": 69,
    "b": 174
  },
  "hsl": {
    "h": 228.837,
    "s": 58.904,
    "l": 42.941
  },
  "oklch": {
    "l": 0.43938,
    "c": 0.16954,
    "h": 268.5
  },
  "luminance": 0.0787
}

Semantic roles & 50–950 ramp

primary
#2D45AE
secondary
#C4B572
accent
#C546E2
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2D45AE

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

Preview Lab → · Contrast checker → · Palette generator →

#2D45AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva