#2A46BC#2A46BC

#2A46BC is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.2% C 0.188 H 267.6°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#2A46BC
RGBrgb(42, 70, 188)
HSLhsl(228, 63%, 45%)
HSVhsv(228, 78%, 74%)
CMYKcmyk(77.7%, 62.8%, 0%, 26.3%)
CIE-LABlab(35.01, 32.49, -64.87)
CIE-LCHlch(35.01, 72.55, 296.61°)
OKLaboklab(45.23% -0.0078 -0.1876)
OKLCHoklch(45.23% 0.188 267.6)
XYZxyz(12.2189, 8.5020, 48.5643)
Luminance0.0850 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A46BC #BCA02A
analogous
#2A8FBC #2A46BC #572ABC
triadic
#2A46BC #BC2A46 #46BC2A
tetradic
#2A46BC #BC2A8F #BCA02A #2ABC57
square
#2A46BC #BC2A8F #BCA02A #2ABC57
split-complementary
#2A46BC #BC572A #8FBC2A
monochromatic
#142158 #1F338A #2A46BC #4C67D7 #7E91E2

Accessibility & contrast

On white

7.78
#2A46BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#2A46BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A46BC
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A46BC#FFFFFF#000000##FFFFFF
##2A46BC1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a46bc;
/* rgb */ color: rgb(42, 70, 188);
/* oklch */ color: oklch(45.2% 0.188 267.6);
Tailwind
colors: {
  custom: {
    50: '#7b79d1',
    500: '#2a46bc',
    950: '#000000',
  },
}
SCSS
$custom: #2a46bc;
$custom-light: #7b79d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a46bc",
  "rgb": {
    "r": 42,
    "g": 70,
    "b": 188
  },
  "hsl": {
    "h": 228.493,
    "s": 63.478,
    "l": 45.098
  },
  "oklch": {
    "l": 0.45229,
    "c": 0.18777,
    "h": 267.6
  },
  "luminance": 0.08503
}

Semantic roles & 50–950 ramp

primary
#2A46BC
secondary
#CBBB77
accent
#C741E7
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #2A46BC

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

Preview Lab → · Contrast checker → · Palette generator →

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