#2A46B7#2A46B7

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

Color values

HEX#2A46B7
RGBrgb(42, 70, 183)
HSLhsl(228, 63%, 44%)
HSVhsv(228, 77%, 72%)
CMYKcmyk(77%, 61.7%, 0%, 28.2%)
CIE-LABlab(34.58, 30.63, -62.62)
CIE-LCHlch(34.58, 69.71, 296.07°)
OKLaboklab(44.78% -0.0078 -0.181)
OKLCHoklch(44.78% 0.181 267.5)
XYZxyz(11.6893, 8.2901, 45.7747)
Luminance0.0829 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A46B7 #B79B2A
analogous
#2A8DB7 #2A46B7 #552AB7
triadic
#2A46B7 #B72A46 #46B72A
tetradic
#2A46B7 #B72A8D #B79B2A #2AB755
square
#2A46B7 #B72A8D #B79B2A #2AB755
split-complementary
#2A46B7 #B7552A #8DB72A
monochromatic
#132053 #1F3385 #2A46B7 #4965D5 #7B8FE1

Accessibility & contrast

On white

7.90
#2A46B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#2A46B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A46B7
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A46B7#FFFFFF#000000##FFFFFF
##2A46B71.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BB
Deuteranopia (green-blind)
#004BB5
Tritanopia (blue-blind)
#006378
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2a46b7;
/* rgb */ color: rgb(42, 70, 183);
/* oklch */ color: oklch(44.8% 0.181 267.5);
Tailwind
colors: {
  custom: {
    50: '#7a79ce',
    500: '#2a46b7',
    950: '#000000',
  },
}
SCSS
$custom: #2a46b7;
$custom-light: #7a79ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2a46b7",
  "rgb": {
    "r": 42,
    "g": 70,
    "b": 183
  },
  "hsl": {
    "h": 228.085,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.4478,
    "c": 0.18119,
    "h": 267.5
  },
  "luminance": 0.08291
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A46B7

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

Preview Lab → · Contrast checker → · Palette generator →

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