#2A429C#2A429C

#2A429C is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.7% C 0.149 H 268.0°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#2A429C
RGBrgb(42, 66, 156)
HSLhsl(227, 58%, 39%)
HSVhsv(227, 73%, 61%)
CMYKcmyk(73.1%, 57.7%, 0%, 38.8%)
CIE-LABlab(31.32, 23.10, -51.78)
CIE-LCHlch(31.32, 56.70, 294.04°)
OKLaboklab(41.66% -0.0053 -0.1493)
OKLCHoklch(41.66% 0.149 268)
XYZxyz(8.9017, 6.7880, 32.2871)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A429C #9C842A
analogous
#2A7B9C #2A429C #4B2A9C
triadic
#2A429C #9C2A42 #429C2A
tetradic
#2A429C #9C2A7B #9C842A #2A9C4B
square
#2A429C #9C2A7B #9C842A #2A9C4B
split-complementary
#2A429C #9C4B2A #7B9C2A
monochromatic
#10193C #1D2E6C #2A429C #3958CA #6A81D7

Accessibility & contrast

On white

8.91
#2A429C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#2A429C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A429C
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A429C#FFFFFF#000000##FFFFFF
##2A429C1.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9F
Deuteranopia (green-blind)
#00459A
Tritanopia (blue-blind)
#005868
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2a429c;
/* rgb */ color: rgb(42, 66, 156);
/* oklch */ color: oklch(41.7% 0.149 268.0);
Tailwind
colors: {
  custom: {
    50: '#7476ba',
    500: '#2a429c',
    950: '#000000',
  },
}
SCSS
$custom: #2a429c;
$custom-light: #7476ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2a429c",
  "rgb": {
    "r": 42,
    "g": 66,
    "b": 156
  },
  "hsl": {
    "h": 227.368,
    "s": 57.576,
    "l": 38.824
  },
  "oklch": {
    "l": 0.41661,
    "c": 0.14936,
    "h": 268
  },
  "luminance": 0.06789
}

Semantic roles & 50–950 ramp

primary
#2A429C
secondary
#BDAB65
accent
#C047E1
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2A429C

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

Preview Lab → · Contrast checker → · Palette generator →

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