#2D46BC#2D46BC

#2D46BC is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.4% C 0.187 H 268.4°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#2D46BC
RGBrgb(45, 70, 188)
HSLhsl(230, 61%, 46%)
HSVhsv(230, 76%, 74%)
CMYKcmyk(76.1%, 62.8%, 0%, 26.3%)
CIE-LABlab(35.14, 32.80, -64.65)
CIE-LCHlch(35.14, 72.49, 296.90°)
OKLaboklab(45.36% -0.0052 -0.1869)
OKLCHoklch(45.36% 0.187 268.4)
XYZxyz(12.3463, 8.5677, 48.5702)
Luminance0.0857 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D46BC #BCA32D
analogous
#2D8EBC #2D46BC #5B2DBC
triadic
#2D46BC #BC2D46 #46BC2D
tetradic
#2D46BC #BC2D8E #BCA32D #2DBC5B
square
#2D46BC #BC2D8E #BCA32D #2DBC5B
split-complementary
#2D46BC #BC5B2D #8EBC2D
monochromatic
#152159 #21348B #2D46BC #5168D5 #8293E1

Accessibility & contrast

On white

7.74
#2D46BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#2D46BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D46BC
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D46BC#FFFFFF#000000##FFFFFF
##2D46BC1.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C0
Deuteranopia (green-blind)
#004CBA
Tritanopia (blue-blind)
#00657A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2d46bc;
/* rgb */ color: rgb(45, 70, 188);
/* oklch */ color: oklch(45.4% 0.187 268.4);
Tailwind
colors: {
  custom: {
    50: '#7c79d1',
    500: '#2d46bc',
    950: '#000000',
  },
}
SCSS
$custom: #2d46bc;
$custom-light: #7c79d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d46bc",
  "rgb": {
    "r": 45,
    "g": 70,
    "b": 188
  },
  "hsl": {
    "h": 229.51,
    "s": 61.373,
    "l": 45.686
  },
  "oklch": {
    "l": 0.45362,
    "c": 0.18698,
    "h": 268.4
  },
  "luminance": 0.08569
}

Semantic roles & 50–950 ramp

primary
#2D46BC
secondary
#CABC7B
accent
#C843E4
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #2D46BC

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

Preview Lab → · Contrast checker → · Palette generator →

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