#2D46B3#2D46B3

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

Color values

HEX#2D46B3
RGBrgb(45, 70, 179)
HSLhsl(229, 60%, 44%)
HSVhsv(229, 75%, 70%)
CMYKcmyk(74.9%, 60.9%, 0%, 29.8%)
CIE-LABlab(34.38, 29.47, -60.58)
CIE-LCHlch(34.38, 67.37, 295.95°)
OKLaboklab(44.56% -0.0051 -0.175)
OKLCHoklch(44.56% 0.175 268.3)
XYZxyz(11.4062, 8.1917, 43.6191)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D46B3 #B39A2D
analogous
#2D89B3 #2D46B3 #572DB3
triadic
#2D46B3 #B32D46 #46B32D
tetradic
#2D46B3 #B32D89 #B39A2D #2DB357
square
#2D46B3 #B32D89 #B39A2D #2DB357
split-complementary
#2D46B3 #B3572D #89B32D
monochromatic
#142051 #213382 #2D46B3 #4B64D2 #7C8FDE

Accessibility & contrast

On white

7.96
#2D46B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#2D46B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D46B3
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D46B3#FFFFFF#000000##FFFFFF
##2D46B31.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B7
Deuteranopia (green-blind)
#004BB1
Tritanopia (blue-blind)
#006275
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2d46b3;
/* rgb */ color: rgb(45, 70, 179);
/* oklch */ color: oklch(44.6% 0.175 268.3);
Tailwind
colors: {
  custom: {
    50: '#7a79cb',
    500: '#2d46b3',
    950: '#000000',
  },
}
SCSS
$custom: #2d46b3;
$custom-light: #7a79cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2d46b3",
  "rgb": {
    "r": 45,
    "g": 70,
    "b": 179
  },
  "hsl": {
    "h": 228.806,
    "s": 59.821,
    "l": 43.922
  },
  "oklch": {
    "l": 0.44564,
    "c": 0.17504,
    "h": 268.3
  },
  "luminance": 0.08193
}

Semantic roles & 50–950 ramp

primary
#2D46B3
secondary
#C7B775
accent
#C545E3
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #2D46B3

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

Preview Lab → · Contrast checker → · Palette generator →

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