#2D46AC#2D46AC

#2D46AC is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.0% C 0.166 H 268.2°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#2D46AC
RGBrgb(45, 70, 172)
HSLhsl(228, 59%, 43%)
HSVhsv(228, 74%, 67%)
CMYKcmyk(73.8%, 59.3%, 0%, 32.5%)
CIE-LABlab(33.81, 26.87, -57.35)
CIE-LCHlch(33.81, 63.33, 295.10°)
OKLaboklab(43.96% -0.0051 -0.1655)
OKLCHoklch(43.96% 0.166 268.2)
XYZxyz(10.7162, 7.9156, 39.9848)
Luminance0.0792 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D46AC #AC932D
analogous
#2D85AC #2D46AC #542DAC
triadic
#2D46AC #AC2D46 #46AC2D
tetradic
#2D46AC #AC2D85 #AC932D #2DAC54
square
#2D46AC #AC2D85 #AC932D #2DAC54
split-complementary
#2D46AC #AC542D #85AC2D
monochromatic
#141F4B #20327B #2D46AC #4762CF #788BDC

Accessibility & contrast

On white

8.13
#2D46AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#2D46AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D46AC
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D46AC#FFFFFF#000000##FFFFFF
##2D46AC1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AF
Deuteranopia (green-blind)
#004AAA
Tritanopia (blue-blind)
#006072
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2d46ac;
/* rgb */ color: rgb(45, 70, 172);
/* oklch */ color: oklch(44.0% 0.166 268.2);
Tailwind
colors: {
  custom: {
    50: '#7879c6',
    500: '#2d46ac',
    950: '#000000',
  },
}
SCSS
$custom: #2d46ac;
$custom-light: #7879c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2d46ac",
  "rgb": {
    "r": 45,
    "g": 70,
    "b": 172
  },
  "hsl": {
    "h": 228.189,
    "s": 58.525,
    "l": 42.549
  },
  "oklch": {
    "l": 0.4396,
    "c": 0.16558,
    "h": 268.2
  },
  "luminance": 0.07917
}

Semantic roles & 50–950 ramp

primary
#2D46AC
secondary
#C4B371
accent
#C346E2
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2D46AC

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

Preview Lab → · Contrast checker → · Palette generator →

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