#2D46A8#2D46A8

#2D46A8 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.6% C 0.160 H 268.1°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#2D46A8
RGBrgb(45, 70, 168)
HSLhsl(228, 58%, 42%)
HSVhsv(228, 73%, 66%)
CMYKcmyk(73.2%, 58.3%, 0%, 34.1%)
CIE-LABlab(33.49, 25.36, -55.48)
CIE-LCHlch(33.49, 61.00, 294.57°)
OKLaboklab(43.62% -0.0052 -0.16)
OKLCHoklch(43.62% 0.16 268.1)
XYZxyz(10.3378, 7.7643, 37.9920)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D46A8 #A88F2D
analogous
#2D84A8 #2D46A8 #522DA8
triadic
#2D46A8 #A82D46 #46A82D
tetradic
#2D46A8 #A82D84 #A88F2D #2DA852
square
#2D46A8 #A82D84 #A88F2D #2DA852
split-complementary
#2D46A8 #A8522D #84A82D
monochromatic
#131E47 #203278 #2D46A8 #4561CD #758ADA

Accessibility & contrast

On white

8.23
#2D46A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#2D46A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D46A8
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D46A8#FFFFFF#000000##FFFFFF
##2D46A81.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AB
Deuteranopia (green-blind)
#0049A6
Tritanopia (blue-blind)
#005E70
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2d46a8;
/* rgb */ color: rgb(45, 70, 168);
/* oklch */ color: oklch(43.6% 0.160 268.1);
Tailwind
colors: {
  custom: {
    50: '#7779c3',
    500: '#2d46a8',
    950: '#000000',
  },
}
SCSS
$custom: #2d46a8;
$custom-light: #7779c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d46a8",
  "rgb": {
    "r": 45,
    "g": 70,
    "b": 168
  },
  "hsl": {
    "h": 227.805,
    "s": 57.746,
    "l": 41.765
  },
  "oklch": {
    "l": 0.43621,
    "c": 0.1601,
    "h": 268.1
  },
  "luminance": 0.07765
}

Semantic roles & 50–950 ramp

primary
#2D46A8
secondary
#C2B16F
accent
#C247E1
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2D46A8

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

Preview Lab → · Contrast checker → · Palette generator →

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