#2D46B4#2D46B4

#2D46B4 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.7% C 0.176 H 268.3°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#2D46B4
RGBrgb(45, 70, 180)
HSLhsl(229, 60%, 44%)
HSVhsv(229, 75%, 71%)
CMYKcmyk(75%, 61.1%, 0%, 29.4%)
CIE-LABlab(34.46, 29.85, -61.03)
CIE-LCHlch(34.46, 67.94, 296.06°)
OKLaboklab(44.65% -0.0051 -0.1763)
OKLCHoklch(44.65% 0.176 268.3)
XYZxyz(11.5077, 8.2323, 44.1537)
Luminance0.0823 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D46B4 #B49B2D
analogous
#2D8AB4 #2D46B4 #582DB4
triadic
#2D46B4 #B42D46 #46B42D
tetradic
#2D46B4 #B42D8A #B49B2D #2DB458
square
#2D46B4 #B42D8A #B49B2D #2DB458
split-complementary
#2D46B4 #B4582D #8AB42D
monochromatic
#152052 #213383 #2D46B4 #4C65D2 #7D8FDE

Accessibility & contrast

On white

7.93
#2D46B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#2D46B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D46B4
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D46B4#FFFFFF#000000##FFFFFF
##2D46B41.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B8
Deuteranopia (green-blind)
#004BB2
Tritanopia (blue-blind)
#006276
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2d46b4;
/* rgb */ color: rgb(45, 70, 180);
/* oklch */ color: oklch(44.7% 0.176 268.3);
Tailwind
colors: {
  custom: {
    50: '#7a79cb',
    500: '#2d46b4',
    950: '#000000',
  },
}
SCSS
$custom: #2d46b4;
$custom-light: #7a79cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2d46b4",
  "rgb": {
    "r": 45,
    "g": 70,
    "b": 180
  },
  "hsl": {
    "h": 228.889,
    "s": 60,
    "l": 44.118
  },
  "oklch": {
    "l": 0.44652,
    "c": 0.17638,
    "h": 268.3
  },
  "luminance": 0.08233
}

Semantic roles & 50–950 ramp

primary
#2D46B4
secondary
#C7B876
accent
#C645E3
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #2D46B4

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

Preview Lab → · Contrast checker → · Palette generator →

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