#2A429A#2A429A

#2A429A is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.5% C 0.147 H 267.9°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#2A429A
RGBrgb(42, 66, 154)
HSLhsl(227, 57%, 38%)
HSVhsv(227, 73%, 60%)
CMYKcmyk(72.7%, 57.1%, 0%, 39.6%)
CIE-LABlab(31.16, 22.34, -50.82)
CIE-LCHlch(31.16, 55.52, 293.73°)
OKLaboklab(41.5% -0.0054 -0.1464)
OKLCHoklch(41.5% 0.147 267.9)
XYZxyz(8.7338, 6.7209, 31.4026)
Luminance0.0672 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A429A #9A822A
analogous
#2A7A9A #2A429A #4A2A9A
triadic
#2A429A #9A2A42 #429A2A
tetradic
#2A429A #9A2A7A #9A822A #2A9A4A
square
#2A429A #9A2A7A #9A822A #2A9A4A
split-complementary
#2A429A #9A4A2A #7A9A2A
monochromatic
#10193A #1D2D6A #2A429A #3857C9 #6880D6

Accessibility & contrast

On white

8.96
#2A429A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#2A429A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A429A
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A429A#FFFFFF#000000##FFFFFF
##2A429A1.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9D
Deuteranopia (green-blind)
#004498
Tritanopia (blue-blind)
#005867
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2a429a;
/* rgb */ color: rgb(42, 66, 154);
/* oklch */ color: oklch(41.5% 0.147 267.9);
Tailwind
colors: {
  custom: {
    50: '#7376b8',
    500: '#2a429a',
    950: '#000000',
  },
}
SCSS
$custom: #2a429a;
$custom-light: #7376b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a429a",
  "rgb": {
    "r": 42,
    "g": 66,
    "b": 154
  },
  "hsl": {
    "h": 227.143,
    "s": 57.143,
    "l": 38.431
  },
  "oklch": {
    "l": 0.41495,
    "c": 0.14654,
    "h": 267.9
  },
  "luminance": 0.06722
}

Semantic roles & 50–950 ramp

primary
#2A429A
secondary
#BCA963
accent
#C047E0
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2A429A

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

Preview Lab → · Contrast checker → · Palette generator →

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