#2D46A1#2D46A1

#2D46A1 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.0% C 0.150 H 267.9°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#2D46A1
RGBrgb(45, 70, 161)
HSLhsl(227, 56%, 40%)
HSVhsv(227, 72%, 63%)
CMYKcmyk(72%, 56.5%, 0%, 36.9%)
CIE-LABlab(32.94, 22.73, -52.16)
CIE-LCHlch(32.94, 56.90, 293.54°)
OKLaboklab(43.04% -0.0055 -0.1503)
OKLCHoklch(43.04% 0.15 267.9)
XYZxyz(9.7031, 7.5104, 34.6496)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D46A1 #A1882D
analogous
#2D80A1 #2D46A1 #4E2DA1
triadic
#2D46A1 #A12D46 #46A12D
tetradic
#2D46A1 #A12D80 #A1882D #2DA14E
square
#2D46A1 #A12D80 #A1882D #2DA14E
split-complementary
#2D46A1 #A14E2D #80A12D
monochromatic
#121C41 #203171 #2D46A1 #415FCA #7187D7

Accessibility & contrast

On white

8.39
#2D46A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#2D46A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D46A1
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D46A1#FFFFFF#000000##FFFFFF
##2D46A11.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A4
Deuteranopia (green-blind)
#00489F
Tritanopia (blue-blind)
#005C6C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2d46a1;
/* rgb */ color: rgb(45, 70, 161);
/* oklch */ color: oklch(43.0% 0.150 267.9);
Tailwind
colors: {
  custom: {
    50: '#7679bd',
    500: '#2d46a1',
    950: '#000000',
  },
}
SCSS
$custom: #2d46a1;
$custom-light: #7679bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d46a1",
  "rgb": {
    "r": 45,
    "g": 70,
    "b": 161
  },
  "hsl": {
    "h": 227.069,
    "s": 56.311,
    "l": 40.392
  },
  "oklch": {
    "l": 0.43041,
    "c": 0.15036,
    "h": 267.9
  },
  "luminance": 0.07511
}

Semantic roles & 50–950 ramp

primary
#2D46A1
secondary
#BFAD6B
accent
#BF48E0
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2D46A1

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

Preview Lab → · Contrast checker → · Palette generator →

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