#2D46B6#2D46B6

#2D46B6 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.8% C 0.179 H 268.4°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#2D46B6
RGBrgb(45, 70, 182)
HSLhsl(229, 60%, 45%)
HSVhsv(229, 75%, 71%)
CMYKcmyk(75.3%, 61.5%, 0%, 28.6%)
CIE-LABlab(34.63, 30.59, -61.94)
CIE-LCHlch(34.63, 69.08, 296.28°)
OKLaboklab(44.83% -0.0051 -0.179)
OKLCHoklch(44.83% 0.179 268.4)
XYZxyz(11.7129, 8.3143, 45.2344)
Luminance0.0832 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D46B6 #B69D2D
analogous
#2D8BB6 #2D46B6 #592DB6
triadic
#2D46B6 #B62D46 #46B62D
tetradic
#2D46B6 #B62D8B #B69D2D #2DB659
square
#2D46B6 #B62D8B #B69D2D #2DB659
split-complementary
#2D46B6 #B6592D #8BB62D
monochromatic
#152054 #213385 #2D46B6 #4D66D3 #7E90DF

Accessibility & contrast

On white

7.89
#2D46B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#2D46B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D46B6
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D46B6#FFFFFF#000000##FFFFFF
##2D46B61.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BA
Deuteranopia (green-blind)
#004BB4
Tritanopia (blue-blind)
#006377
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2d46b6;
/* rgb */ color: rgb(45, 70, 182);
/* oklch */ color: oklch(44.8% 0.179 268.4);
Tailwind
colors: {
  custom: {
    50: '#7a79cd',
    500: '#2d46b6',
    950: '#000000',
  },
}
SCSS
$custom: #2d46b6;
$custom-light: #7a79cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d46b6",
  "rgb": {
    "r": 45,
    "g": 70,
    "b": 182
  },
  "hsl": {
    "h": 229.051,
    "s": 60.352,
    "l": 44.51
  },
  "oklch": {
    "l": 0.44827,
    "c": 0.17905,
    "h": 268.4
  },
  "luminance": 0.08316
}

Semantic roles & 50–950 ramp

primary
#2D46B6
secondary
#C8B977
accent
#C644E3
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #2D46B6

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

Preview Lab → · Contrast checker → · Palette generator →

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