#2A46B1#2A46B1

#2A46B1 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.3% C 0.173 H 267.4°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#2A46B1
RGBrgb(42, 70, 177)
HSLhsl(228, 62%, 43%)
HSVhsv(228, 76%, 69%)
CMYKcmyk(76.3%, 60.5%, 0%, 30.6%)
CIE-LABlab(34.08, 28.38, -59.89)
CIE-LCHlch(34.08, 66.27, 295.36°)
OKLaboklab(44.25% -0.0078 -0.173)
OKLCHoklch(44.25% 0.173 267.4)
XYZxyz(11.0781, 8.0457, 42.5556)
Luminance0.0805 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A46B1 #B1952A
analogous
#2A89B1 #2A46B1 #522AB1
triadic
#2A46B1 #B12A46 #46B12A
tetradic
#2A46B1 #B12A89 #B1952A #2AB152
square
#2A46B1 #B12A89 #B1952A #2AB152
split-complementary
#2A46B1 #B1522A #89B12A
monochromatic
#131F4E #1E3280 #2A46B1 #4563D3 #778CDF

Accessibility & contrast

On white

8.05
#2A46B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#2A46B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A46B1
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A46B1#FFFFFF#000000##FFFFFF
##2A46B11.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B5
Deuteranopia (green-blind)
#004AAF
Tritanopia (blue-blind)
#006174
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2a46b1;
/* rgb */ color: rgb(42, 70, 177);
/* oklch */ color: oklch(44.3% 0.173 267.4);
Tailwind
colors: {
  custom: {
    50: '#7879c9',
    500: '#2a46b1',
    950: '#000000',
  },
}
SCSS
$custom: #2a46b1;
$custom-light: #7879c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a46b1",
  "rgb": {
    "r": 42,
    "g": 70,
    "b": 177
  },
  "hsl": {
    "h": 227.556,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.44252,
    "c": 0.17318,
    "h": 267.4
  },
  "luminance": 0.08047
}

Semantic roles & 50–950 ramp

primary
#2A46B1
secondary
#C6B570
accent
#C343E5
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2A46B1

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

Preview Lab → · Contrast checker → · Palette generator →

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