#2A499A#2A499A

#2A499A is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.0% C 0.138 H 265.2°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#2A499A
RGBrgb(42, 73, 154)
HSLhsl(223, 57%, 38%)
HSVhsv(223, 73%, 60%)
CMYKcmyk(72.7%, 52.6%, 0%, 39.6%)
CIE-LABlab(33.11, 17.61, -47.66)
CIE-LCHlch(33.11, 50.81, 290.28°)
OKLaboklab(42.97% -0.0114 -0.137)
OKLCHoklch(42.97% 0.138 265.2)
XYZxyz(9.1681, 7.5895, 31.5473)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A499A #9A7B2A
analogous
#2A819A #2A499A #432A9A
triadic
#2A499A #9A2A49 #499A2A
tetradic
#2A499A #9A2A81 #9A7B2A #2A9A43
square
#2A499A #9A2A81 #9A7B2A #2A9A43
split-complementary
#2A499A #9A432A #819A2A
monochromatic
#101B3A #1D326A #2A499A #3860C9 #6887D6

Accessibility & contrast

On white

8.34
#2A499A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#2A499A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A499A
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A499A#FFFFFF#000000##FFFFFF
##2A499A1.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15539D
Deuteranopia (green-blind)
#004998
Tritanopia (blue-blind)
#005C6A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2a499a;
/* rgb */ color: rgb(42, 73, 154);
/* oklch */ color: oklch(43.0% 0.138 265.2);
Tailwind
colors: {
  custom: {
    50: '#737bb8',
    500: '#2a499a',
    950: '#000000',
  },
}
SCSS
$custom: #2a499a;
$custom-light: #737bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a499a",
  "rgb": {
    "r": 42,
    "g": 73,
    "b": 154
  },
  "hsl": {
    "h": 223.393,
    "s": 57.143,
    "l": 38.431
  },
  "oklch": {
    "l": 0.42967,
    "c": 0.13751,
    "h": 265.2
  },
  "luminance": 0.0759
}

Semantic roles & 50–950 ramp

primary
#2A499A
secondary
#BCA463
accent
#B647E0
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2A499A

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

Preview Lab → · Contrast checker → · Palette generator →

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