#2A489C#2A489C

#2A489C is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.9% C 0.142 H 265.8°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#2A489C
RGBrgb(42, 72, 156)
HSLhsl(224, 58%, 39%)
HSVhsv(224, 73%, 61%)
CMYKcmyk(73.1%, 53.8%, 0%, 38.8%)
CIE-LABlab(32.98, 19.06, -49.10)
CIE-LCHlch(32.98, 52.66, 291.21°)
OKLaboklab(42.91% -0.0103 -0.1413)
OKLCHoklch(42.91% 0.142 265.8)
XYZxyz(9.2709, 7.5263, 32.4102)
Luminance0.0753 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A489C #9C7E2A
analogous
#2A819C #2A489C #452A9C
triadic
#2A489C #9C2A48 #489C2A
tetradic
#2A489C #9C2A81 #9C7E2A #2A9C45
square
#2A489C #9C2A81 #9C7E2A #2A9C45
split-complementary
#2A489C #9C452A #819C2A
monochromatic
#101B3C #1D326C #2A489C #395FCA #6A86D7

Accessibility & contrast

On white

8.38
#2A489C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#2A489C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A489C
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A489C#FFFFFF#000000##FFFFFF
##2A489C1.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C539F
Deuteranopia (green-blind)
#00499A
Tritanopia (blue-blind)
#005C6B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2a489c;
/* rgb */ color: rgb(42, 72, 156);
/* oklch */ color: oklch(42.9% 0.142 265.8);
Tailwind
colors: {
  custom: {
    50: '#737aba',
    500: '#2a489c',
    950: '#000000',
  },
}
SCSS
$custom: #2a489c;
$custom-light: #737aba;
$custom-dark: #000000;
JSON
{
  "hex": "#2a489c",
  "rgb": {
    "r": 42,
    "g": 72,
    "b": 156
  },
  "hsl": {
    "h": 224.211,
    "s": 57.576,
    "l": 38.824
  },
  "oklch": {
    "l": 0.42909,
    "c": 0.14165,
    "h": 265.8
  },
  "luminance": 0.07527
}

Semantic roles & 50–950 ramp

primary
#2A489C
secondary
#BDA665
accent
#B847E1
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2A489C

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

Preview Lab → · Contrast checker → · Palette generator →

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