#2A46B6#2A46B6

#2A46B6 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.7% C 0.180 H 267.5°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#2A46B6
RGBrgb(42, 70, 182)
HSLhsl(228, 63%, 44%)
HSVhsv(228, 77%, 71%)
CMYKcmyk(76.9%, 61.5%, 0%, 28.6%)
CIE-LABlab(34.50, 30.26, -62.17)
CIE-LCHlch(34.50, 69.14, 295.95°)
OKLaboklab(44.69% -0.0078 -0.1797)
OKLCHoklch(44.69% 0.18 267.5)
XYZxyz(11.5856, 8.2487, 45.2285)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A46B6 #B69A2A
analogous
#2A8CB6 #2A46B6 #542AB6
triadic
#2A46B6 #B62A46 #46B62A
tetradic
#2A46B6 #B62A8C #B69A2A #2AB654
square
#2A46B6 #B62A8C #B69A2A #2AB654
split-complementary
#2A46B6 #B6542A #8CB62A
monochromatic
#132053 #1F3384 #2A46B6 #4864D5 #7A8FE0

Accessibility & contrast

On white

7.92
#2A46B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#2A46B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A46B6
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A46B6#FFFFFF#000000##FFFFFF
##2A46B61.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BA
Deuteranopia (green-blind)
#004BB4
Tritanopia (blue-blind)
#006377
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2a46b6;
/* rgb */ color: rgb(42, 70, 182);
/* oklch */ color: oklch(44.7% 0.180 267.5);
Tailwind
colors: {
  custom: {
    50: '#7979cd',
    500: '#2a46b6',
    950: '#000000',
  },
}
SCSS
$custom: #2a46b6;
$custom-light: #7979cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2a46b6",
  "rgb": {
    "r": 42,
    "g": 70,
    "b": 182
  },
  "hsl": {
    "h": 228,
    "s": 62.5,
    "l": 43.922
  },
  "oklch": {
    "l": 0.44692,
    "c": 0.17986,
    "h": 267.5
  },
  "luminance": 0.0825
}

Semantic roles & 50–950 ramp

primary
#2A46B6
secondary
#C8B773
accent
#C542E6
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #2A46B6

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

Preview Lab → · Contrast checker → · Palette generator →

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