#2D46BE#2D46BE

#2D46BE is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.5% C 0.190 H 268.4°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#2D46BE
RGBrgb(45, 70, 190)
HSLhsl(230, 62%, 46%)
HSVhsv(230, 76%, 75%)
CMYKcmyk(76.3%, 63.2%, 0%, 25.5%)
CIE-LABlab(35.31, 33.53, -65.54)
CIE-LCHlch(35.31, 73.62, 297.10°)
OKLaboklab(45.54% -0.0053 -0.1895)
OKLCHoklch(45.54% 0.19 268.4)
XYZxyz(12.5634, 8.6545, 49.7136)
Luminance0.0866 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D46BE #BEA52D
analogous
#2D8EBE #2D46BE #5C2DBE
triadic
#2D46BE #BE2D46 #46BE2D
tetradic
#2D46BE #BE2D8E #BEA52D #2DBE5C
square
#2D46BE #BE2D8E #BEA52D #2DBE5C
split-complementary
#2D46BE #BE5C2D #8EBE2D
monochromatic
#16225B #21348D #2D46BE #5269D6 #8494E2

Accessibility & contrast

On white

7.69
#2D46BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#2D46BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D46BE
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D46BE#FFFFFF#000000##FFFFFF
##2D46BE1.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC2
Deuteranopia (green-blind)
#004CBC
Tritanopia (blue-blind)
#00657B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2d46be;
/* rgb */ color: rgb(45, 70, 190);
/* oklch */ color: oklch(45.5% 0.190 268.4);
Tailwind
colors: {
  custom: {
    50: '#7c79d3',
    500: '#2d46be',
    950: '#000000',
  },
}
SCSS
$custom: #2d46be;
$custom-light: #7c79d3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d46be",
  "rgb": {
    "r": 45,
    "g": 70,
    "b": 190
  },
  "hsl": {
    "h": 229.655,
    "s": 61.702,
    "l": 46.078
  },
  "oklch": {
    "l": 0.45542,
    "c": 0.18959,
    "h": 268.4
  },
  "luminance": 0.08656
}

Semantic roles & 50–950 ramp

primary
#2D46BE
secondary
#CBBD7C
accent
#C943E5
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #2D46BE

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

Preview Lab → · Contrast checker → · Palette generator →

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