#2A46A8#2A46A8

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

Color values

HEX#2A46A8
RGBrgb(42, 70, 168)
HSLhsl(227, 60%, 41%)
HSVhsv(227, 75%, 66%)
CMYKcmyk(75%, 58.3%, 0%, 34.1%)
CIE-LABlab(33.35, 24.98, -55.71)
CIE-LCHlch(33.35, 61.06, 294.15°)
OKLaboklab(43.48% -0.008 -0.1607)
OKLCHoklch(43.48% 0.161 267.2)
XYZxyz(10.2104, 7.6986, 37.9861)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A46A8 #A88C2A
analogous
#2A85A8 #2A46A8 #4D2AA8
triadic
#2A46A8 #A82A46 #46A82A
tetradic
#2A46A8 #A82A85 #A88C2A #2AA84D
square
#2A46A8 #A82A85 #A88C2A #2AA84D
split-complementary
#2A46A8 #A84D2A #85A82A
monochromatic
#121D46 #1E3277 #2A46A8 #4060CF #7189DB

Accessibility & contrast

On white

8.27
#2A46A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#2A46A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A46A8
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A46A8#FFFFFF#000000##FFFFFF
##2A46A81.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AB
Deuteranopia (green-blind)
#0049A6
Tritanopia (blue-blind)
#005E70
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2a46a8;
/* rgb */ color: rgb(42, 70, 168);
/* oklch */ color: oklch(43.5% 0.161 267.2);
Tailwind
colors: {
  custom: {
    50: '#7679c3',
    500: '#2a46a8',
    950: '#000000',
  },
}
SCSS
$custom: #2a46a8;
$custom-light: #7679c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a46a8",
  "rgb": {
    "r": 42,
    "g": 70,
    "b": 168
  },
  "hsl": {
    "h": 226.667,
    "s": 60,
    "l": 41.176
  },
  "oklch": {
    "l": 0.43478,
    "c": 0.16095,
    "h": 267.2
  },
  "luminance": 0.077
}

Semantic roles & 50–950 ramp

primary
#2A46A8
secondary
#C3AF6B
accent
#C045E3
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2A46A8

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

Preview Lab → · Contrast checker → · Palette generator →

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