#2A4686#2A4686

#2A4686 is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.8% C 0.112 H 264.3°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#2A4686
RGBrgb(42, 70, 134)
HSLhsl(222, 52%, 35%)
HSVhsv(222, 69%, 53%)
CMYKcmyk(68.7%, 47.8%, 0%, 47.5%)
CIE-LABlab(30.86, 11.96, -39.05)
CIE-LCHlch(30.86, 40.84, 287.02°)
OKLaboklab(40.81% -0.0112 -0.1117)
OKLCHoklch(40.81% 0.112 264.3)
XYZxyz(7.4466, 6.5931, 23.4298)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4686 #866A2A
analogous
#2A7486 #2A4686 #3C2A86
triadic
#2A4686 #862A46 #46862A
tetradic
#2A4686 #862A74 #866A2A #2A863C
square
#2A4686 #862A74 #866A2A #2A863C
split-complementary
#2A4686 #863C2A #74862A
monochromatic
#0D1529 #1B2E57 #2A4686 #395EB5 #5E80CD

Accessibility & contrast

On white

9.06
#2A4686 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#2A4686 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4686
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4686#FFFFFF#000000##FFFFFF
##2A46861.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264D88
Deuteranopia (green-blind)
#144585
Tritanopia (blue-blind)
#00555F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2a4686;
/* rgb */ color: rgb(42, 70, 134);
/* oklch */ color: oklch(40.8% 0.112 264.3);
Tailwind
colors: {
  custom: {
    50: '#6e79aa',
    500: '#2a4686',
    950: '#000000',
  },
}
SCSS
$custom: #2a4686;
$custom-light: #6e79aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4686",
  "rgb": {
    "r": 42,
    "g": 70,
    "b": 134
  },
  "hsl": {
    "h": 221.739,
    "s": 52.273,
    "l": 34.51
  },
  "oklch": {
    "l": 0.40808,
    "c": 0.11231,
    "h": 264.3
  },
  "luminance": 0.06594
}

Semantic roles & 50–950 ramp

primary
#2A4686
secondary
#B2975A
accent
#B04CDC
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2A4686

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

Preview Lab → · Contrast checker → · Palette generator →

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