#2A489F#2A489F

#2A489F is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.1% C 0.146 H 266.0°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#2A489F
RGBrgb(42, 72, 159)
HSLhsl(225, 58%, 39%)
HSVhsv(225, 74%, 62%)
CMYKcmyk(73.6%, 54.7%, 0%, 37.6%)
CIE-LABlab(33.20, 20.21, -50.55)
CIE-LCHlch(33.20, 54.44, 291.79°)
OKLaboklab(43.15% -0.0101 -0.1455)
OKLCHoklch(43.15% 0.146 266)
XYZxyz(9.5280, 7.6292, 33.7646)
Luminance0.0763 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A489F #9F812A
analogous
#2A839F #2A489F #462A9F
triadic
#2A489F #9F2A48 #489F2A
tetradic
#2A489F #9F2A83 #9F812A #2A9F46
square
#2A489F #9F2A83 #9F812A #2A9F46
split-complementary
#2A489F #9F462A #839F2A
monochromatic
#101C3E #1D326F #2A489F #3B60CB #6B87D8

Accessibility & contrast

On white

8.31
#2A489F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#2A489F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A489F
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A489F#FFFFFF#000000##FFFFFF
##2A489F1.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0254A2
Deuteranopia (green-blind)
#00499D
Tritanopia (blue-blind)
#005D6C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2a489f;
/* rgb */ color: rgb(42, 72, 159);
/* oklch */ color: oklch(43.1% 0.146 266.0);
Tailwind
colors: {
  custom: {
    50: '#747abc',
    500: '#2a489f',
    950: '#000000',
  },
}
SCSS
$custom: #2a489f;
$custom-light: #747abc;
$custom-dark: #000000;
JSON
{
  "hex": "#2a489f",
  "rgb": {
    "r": 42,
    "g": 72,
    "b": 159
  },
  "hsl": {
    "h": 224.615,
    "s": 58.209,
    "l": 39.412
  },
  "oklch": {
    "l": 0.43148,
    "c": 0.14589,
    "h": 266
  },
  "luminance": 0.0763
}

Semantic roles & 50–950 ramp

primary
#2A489F
secondary
#BFA866
accent
#BA46E1
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2A489F

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

Preview Lab → · Contrast checker → · Palette generator →

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