#2D45B0#2D45B0

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

Color values

HEX#2D45B0
RGBrgb(45, 69, 176)
HSLhsl(229, 59%, 43%)
HSVhsv(229, 74%, 69%)
CMYKcmyk(74.4%, 60.8%, 0%, 31%)
CIE-LABlab(33.87, 29.02, -59.62)
CIE-LCHlch(33.87, 66.31, 295.95°)
OKLaboklab(44.11% -0.0044 -0.1722)
OKLCHoklch(44.11% 0.172 268.5)
XYZxyz(11.0441, 7.9475, 42.0179)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D45B0 #B0982D
analogous
#2D86B0 #2D45B0 #572DB0
triadic
#2D45B0 #B02D45 #45B02D
tetradic
#2D45B0 #B02D86 #B0982D #2DB057
square
#2D45B0 #B02D86 #B0982D #2DB057
split-complementary
#2D45B0 #B0572D #86B02D
monochromatic
#141F4F #21327F #2D45B0 #4A62D1 #7A8CDD

Accessibility & contrast

On white

8.11
#2D45B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#2D45B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D45B0
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D45B0#FFFFFF#000000##FFFFFF
##2D45B01.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B4
Deuteranopia (green-blind)
#004AAE
Tritanopia (blue-blind)
#006074
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2d45b0;
/* rgb */ color: rgb(45, 69, 176);
/* oklch */ color: oklch(44.1% 0.172 268.5);
Tailwind
colors: {
  custom: {
    50: '#7978c8',
    500: '#2d45b0',
    950: '#000000',
  },
}
SCSS
$custom: #2d45b0;
$custom-light: #7978c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d45b0",
  "rgb": {
    "r": 45,
    "g": 69,
    "b": 176
  },
  "hsl": {
    "h": 229.008,
    "s": 59.276,
    "l": 43.333
  },
  "oklch": {
    "l": 0.44111,
    "c": 0.17224,
    "h": 268.5
  },
  "luminance": 0.07949
}

Semantic roles & 50–950 ramp

primary
#2D45B0
secondary
#C5B673
accent
#C645E2
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2D45B0

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

Preview Lab → · Contrast checker → · Palette generator →

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