#2A46A9#2A46A9

#2A46A9 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.6% C 0.162 H 267.2°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#2A46A9
RGBrgb(42, 70, 169)
HSLhsl(227, 60%, 41%)
HSVhsv(227, 75%, 66%)
CMYKcmyk(75.1%, 58.6%, 0%, 33.7%)
CIE-LABlab(33.43, 25.36, -56.18)
CIE-LCHlch(33.43, 61.64, 294.30°)
OKLaboklab(43.56% -0.0079 -0.1621)
OKLCHoklch(43.56% 0.162 267.2)
XYZxyz(10.3039, 7.7360, 38.4786)
Luminance0.0774 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A46A9 #A98D2A
analogous
#2A86A9 #2A46A9 #4E2AA9
triadic
#2A46A9 #A92A46 #46A92A
tetradic
#2A46A9 #A92A86 #A98D2A #2AA94E
square
#2A46A9 #A92A86 #A98D2A #2AA94E
split-complementary
#2A46A9 #A94E2A #86A92A
monochromatic
#121D47 #1E3278 #2A46A9 #4160D0 #7289DC

Accessibility & contrast

On white

8.24
#2A46A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#2A46A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A46A9
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A46A9#FFFFFF#000000##FFFFFF
##2A46A91.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AC
Deuteranopia (green-blind)
#0049A7
Tritanopia (blue-blind)
#005F70
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2a46a9;
/* rgb */ color: rgb(42, 70, 169);
/* oklch */ color: oklch(43.6% 0.162 267.2);
Tailwind
colors: {
  custom: {
    50: '#7679c3',
    500: '#2a46a9',
    950: '#000000',
  },
}
SCSS
$custom: #2a46a9;
$custom-light: #7679c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a46a9",
  "rgb": {
    "r": 42,
    "g": 70,
    "b": 169
  },
  "hsl": {
    "h": 226.772,
    "s": 60.19,
    "l": 41.373
  },
  "oklch": {
    "l": 0.43563,
    "c": 0.16232,
    "h": 267.2
  },
  "luminance": 0.07737
}

Semantic roles & 50–950 ramp

primary
#2A46A9
secondary
#C3B06C
accent
#C044E3
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2A46A9

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

Preview Lab → · Contrast checker → · Palette generator →

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