#2D46B2#2D46B2

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

Color values

HEX#2D46B2
RGBrgb(45, 70, 178)
HSLhsl(229, 60%, 44%)
HSVhsv(229, 75%, 70%)
CMYKcmyk(74.7%, 60.7%, 0%, 30.2%)
CIE-LABlab(34.30, 29.10, -60.12)
CIE-LCHlch(34.30, 66.79, 295.83°)
OKLaboklab(44.48% -0.0051 -0.1736)
OKLCHoklch(44.48% 0.174 268.3)
XYZxyz(11.3054, 8.1513, 43.0884)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D46B2 #B2992D
analogous
#2D88B2 #2D46B2 #562DB2
triadic
#2D46B2 #B22D46 #46B22D
tetradic
#2D46B2 #B22D88 #B2992D #2DB256
square
#2D46B2 #B22D88 #B2992D #2DB256
split-complementary
#2D46B2 #B2562D #88B22D
monochromatic
#142050 #213381 #2D46B2 #4B64D1 #7C8EDE

Accessibility & contrast

On white

7.98
#2D46B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#2D46B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D46B2
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D46B2#FFFFFF#000000##FFFFFF
##2D46B21.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B6
Deuteranopia (green-blind)
#004BB0
Tritanopia (blue-blind)
#006175
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2d46b2;
/* rgb */ color: rgb(45, 70, 178);
/* oklch */ color: oklch(44.5% 0.174 268.3);
Tailwind
colors: {
  custom: {
    50: '#7a79ca',
    500: '#2d46b2',
    950: '#000000',
  },
}
SCSS
$custom: #2d46b2;
$custom-light: #7a79ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2d46b2",
  "rgb": {
    "r": 45,
    "g": 70,
    "b": 178
  },
  "hsl": {
    "h": 228.722,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.44477,
    "c": 0.1737,
    "h": 268.3
  },
  "luminance": 0.08153
}

Semantic roles & 50–950 ramp

primary
#2D46B2
secondary
#C6B775
accent
#C545E3
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #2D46B2

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

Preview Lab → · Contrast checker → · Palette generator →

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