#2A46B0#2A46B0

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

Color values

HEX#2A46B0
RGBrgb(42, 70, 176)
HSLhsl(227, 61%, 43%)
HSVhsv(227, 76%, 69%)
CMYKcmyk(76.1%, 60.2%, 0%, 31%)
CIE-LABlab(34.00, 28.01, -59.43)
CIE-LCHlch(34.00, 65.70, 295.23°)
OKLaboklab(44.16% -0.0078 -0.1717)
OKLCHoklch(44.16% 0.172 267.4)
XYZxyz(10.9787, 8.0059, 42.0326)
Luminance0.0801 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A46B0 #B0942A
analogous
#2A89B0 #2A46B0 #512AB0
triadic
#2A46B0 #B02A46 #46B02A
tetradic
#2A46B0 #B02A89 #B0942A #2AB051
square
#2A46B0 #B02A89 #B0942A #2AB051
split-complementary
#2A46B0 #B0512A #89B02A
monochromatic
#121F4D #1E327F #2A46B0 #4562D3 #768CDE

Accessibility & contrast

On white

8.07
#2A46B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#2A46B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A46B0
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A46B0#FFFFFF#000000##FFFFFF
##2A46B01.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B4
Deuteranopia (green-blind)
#004AAE
Tritanopia (blue-blind)
#006174
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2a46b0;
/* rgb */ color: rgb(42, 70, 176);
/* oklch */ color: oklch(44.2% 0.172 267.4);
Tailwind
colors: {
  custom: {
    50: '#7879c8',
    500: '#2a46b0',
    950: '#000000',
  },
}
SCSS
$custom: #2a46b0;
$custom-light: #7879c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a46b0",
  "rgb": {
    "r": 42,
    "g": 70,
    "b": 176
  },
  "hsl": {
    "h": 227.463,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.44164,
    "c": 0.17184,
    "h": 267.4
  },
  "luminance": 0.08007
}

Semantic roles & 50–950 ramp

primary
#2A46B0
secondary
#C6B470
accent
#C343E5
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2A46B0

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

Preview Lab → · Contrast checker → · Palette generator →

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