#2A46B3#2A46B3

#2A46B3 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.4% C 0.176 H 267.5°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#2A46B3
RGBrgb(42, 70, 179)
HSLhsl(228, 62%, 43%)
HSVhsv(228, 77%, 70%)
CMYKcmyk(76.5%, 60.9%, 0%, 29.8%)
CIE-LABlab(34.24, 29.14, -60.80)
CIE-LCHlch(34.24, 67.42, 295.60°)
OKLaboklab(44.43% -0.0078 -0.1757)
OKLCHoklch(44.43% 0.176 267.5)
XYZxyz(11.2789, 8.1260, 43.6131)
Luminance0.0813 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A46B3 #B3972A
analogous
#2A8AB3 #2A46B3 #522AB3
triadic
#2A46B3 #B32A46 #46B32A
tetradic
#2A46B3 #B32A8A #B3972A #2AB352
square
#2A46B3 #B32A8A #B3972A #2AB352
split-complementary
#2A46B3 #B3522A #8AB32A
monochromatic
#131F50 #1E3381 #2A46B3 #4663D4 #788DDF

Accessibility & contrast

On white

8.00
#2A46B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#2A46B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A46B3
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A46B3#FFFFFF#000000##FFFFFF
##2A46B31.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B7
Deuteranopia (green-blind)
#004AB1
Tritanopia (blue-blind)
#006275
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2a46b3;
/* rgb */ color: rgb(42, 70, 179);
/* oklch */ color: oklch(44.4% 0.176 267.5);
Tailwind
colors: {
  custom: {
    50: '#7979cb',
    500: '#2a46b3',
    950: '#000000',
  },
}
SCSS
$custom: #2a46b3;
$custom-light: #7979cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2a46b3",
  "rgb": {
    "r": 42,
    "g": 70,
    "b": 179
  },
  "hsl": {
    "h": 227.737,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.44427,
    "c": 0.17586,
    "h": 267.5
  },
  "luminance": 0.08127
}

Semantic roles & 50–950 ramp

primary
#2A46B3
secondary
#C7B672
accent
#C443E5
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2A46B3

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

Preview Lab → · Contrast checker → · Palette generator →

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