#2D46A9#2D46A9

#2D46A9 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.7% C 0.161 H 268.2°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#2D46A9
RGBrgb(45, 70, 169)
HSLhsl(228, 58%, 42%)
HSVhsv(228, 73%, 66%)
CMYKcmyk(73.4%, 58.6%, 0%, 33.7%)
CIE-LABlab(33.57, 25.74, -55.95)
CIE-LCHlch(33.57, 61.59, 294.71°)
OKLaboklab(43.71% -0.0052 -0.1614)
OKLCHoklch(43.71% 0.161 268.2)
XYZxyz(10.4313, 7.8017, 38.4846)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D46A9 #A9902D
analogous
#2D84A9 #2D46A9 #522DA9
triadic
#2D46A9 #A92D46 #46A92D
tetradic
#2D46A9 #A92D84 #A9902D #2DA952
square
#2D46A9 #A92D84 #A9902D #2DA952
split-complementary
#2D46A9 #A9522D #84A92D
monochromatic
#131E48 #203279 #2D46A9 #4661CE #768ADA

Accessibility & contrast

On white

8.20
#2D46A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#2D46A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D46A9
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D46A9#FFFFFF#000000##FFFFFF
##2D46A91.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AC
Deuteranopia (green-blind)
#0049A7
Tritanopia (blue-blind)
#005F70
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2d46a9;
/* rgb */ color: rgb(45, 70, 169);
/* oklch */ color: oklch(43.7% 0.161 268.2);
Tailwind
colors: {
  custom: {
    50: '#7779c3',
    500: '#2d46a9',
    950: '#000000',
  },
}
SCSS
$custom: #2d46a9;
$custom-light: #7779c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d46a9",
  "rgb": {
    "r": 45,
    "g": 70,
    "b": 169
  },
  "hsl": {
    "h": 227.903,
    "s": 57.944,
    "l": 41.961
  },
  "oklch": {
    "l": 0.43705,
    "c": 0.16146,
    "h": 268.2
  },
  "luminance": 0.07803
}

Semantic roles & 50–950 ramp

primary
#2D46A9
secondary
#C2B26F
accent
#C247E1
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2D46A9

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

Preview Lab → · Contrast checker → · Palette generator →

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