#2A46C5#2A46C5

#2A46C5 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 46.1% C 0.199 H 267.7°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#2A46C5
RGBrgb(42, 70, 197)
HSLhsl(229, 65%, 47%)
HSVhsv(229, 79%, 77%)
CMYKcmyk(78.7%, 64.5%, 0%, 22.7%)
CIE-LABlab(35.80, 35.80, -68.84)
CIE-LCHlch(35.80, 77.60, 297.48°)
OKLaboklab(46.05% -0.0081 -0.1993)
OKLCHoklch(46.05% 0.199 267.7)
XYZxyz(13.2195, 8.9023, 53.8341)
Luminance0.0890 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A46C5 #C5A92A
analogous
#2A94C5 #2A46C5 #5B2AC5
triadic
#2A46C5 #C52A46 #46C52A
tetradic
#2A46C5 #C52A94 #C5A92A #2AC55B
square
#2A46C5 #C52A94 #C5A92A #2AC55B
split-complementary
#2A46C5 #C55B2A #94C52A
monochromatic
#142260 #1F3493 #2A46C5 #526BDA #8596E5

Accessibility & contrast

On white

7.55
#2A46C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#2A46C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A46C5
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A46C5#FFFFFF#000000##FFFFFF
##2A46C51.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC9
Deuteranopia (green-blind)
#004DC3
Tritanopia (blue-blind)
#00687F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2a46c5;
/* rgb */ color: rgb(42, 70, 197);
/* oklch */ color: oklch(46.1% 0.199 267.7);
Tailwind
colors: {
  custom: {
    50: '#7d79d8',
    500: '#2a46c5',
    950: '#000000',
  },
}
SCSS
$custom: #2a46c5;
$custom-light: #7d79d8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a46c5",
  "rgb": {
    "r": 42,
    "g": 70,
    "b": 197
  },
  "hsl": {
    "h": 229.161,
    "s": 64.854,
    "l": 46.863
  },
  "oklch": {
    "l": 0.46052,
    "c": 0.19942,
    "h": 267.7
  },
  "luminance": 0.08904
}

Semantic roles & 50–950 ramp

primary
#2A46C5
secondary
#CEBF7D
accent
#CA40E8
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #2A46C5

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

Preview Lab → · Contrast checker → · Palette generator →

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