#2A539C#2A539C

#2A539C is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.3% C 0.128 H 260.9°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#2A539C
RGBrgb(42, 83, 156)
HSLhsl(218, 58%, 39%)
HSVhsv(218, 73%, 61%)
CMYKcmyk(73.1%, 46.8%, 0%, 38.8%)
CIE-LABlab(36.13, 11.69, -44.01)
CIE-LCHlch(36.13, 45.53, 284.88°)
OKLaboklab(45.32% -0.0201 -0.1261)
OKLCHoklch(45.32% 0.128 260.9)
XYZxyz(10.0467, 9.0780, 32.6688)
Luminance0.0908 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A539C #9C732A
analogous
#2A8C9C #2A539C #3A2A9C
triadic
#2A539C #9C2A53 #539C2A
tetradic
#2A539C #9C2A8C #9C732A #2A9C3A
square
#2A539C #9C2A8C #9C732A #2A9C3A
split-complementary
#2A539C #9C3A2A #8C9C2A
monochromatic
#10203C #1D396C #2A539C #396DCA #6A91D7

Accessibility & contrast

On white

7.46
#2A539C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#2A539C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A539C
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A539C#FFFFFF#000000##FFFFFF
##2A539C1.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5B9F
Deuteranopia (green-blind)
#14509B
Tritanopia (blue-blind)
#006470
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2a539c;
/* rgb */ color: rgb(42, 83, 156);
/* oklch */ color: oklch(45.3% 0.128 260.9);
Tailwind
colors: {
  custom: {
    50: '#7382ba',
    500: '#2a539c',
    950: '#000000',
  },
}
SCSS
$custom: #2a539c;
$custom-light: #7382ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2a539c",
  "rgb": {
    "r": 42,
    "g": 83,
    "b": 156
  },
  "hsl": {
    "h": 218.421,
    "s": 57.576,
    "l": 38.824
  },
  "oklch": {
    "l": 0.4532,
    "c": 0.12769,
    "h": 260.9
  },
  "luminance": 0.09079
}

Semantic roles & 50–950 ramp

primary
#2A539C
secondary
#BD9D65
accent
#A947E1
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2A539C

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

Preview Lab → · Contrast checker → · Palette generator →

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