#2A4486#2A4486

#2A4486 is a dark, moderate blue. Relative luminance 0.063; OKLCH L 40.4% C 0.115 H 265.4°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#2A4486
RGBrgb(42, 68, 134)
HSLhsl(223, 52%, 35%)
HSVhsv(223, 69%, 53%)
CMYKcmyk(68.7%, 49.3%, 0%, 47.5%)
CIE-LABlab(30.27, 13.32, -40.00)
CIE-LCHlch(30.27, 42.16, 288.41°)
OKLaboklab(40.36% -0.0092 -0.1146)
OKLCHoklch(40.36% 0.115 265.4)
XYZxyz(7.3235, 6.3470, 23.3888)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4486 #866C2A
analogous
#2A7286 #2A4486 #3E2A86
triadic
#2A4486 #862A44 #44862A
tetradic
#2A4486 #862A72 #866C2A #2A863E
square
#2A4486 #862A72 #866C2A #2A863E
split-complementary
#2A4486 #863E2A #72862A
monochromatic
#0D1529 #1B2C57 #2A4486 #395CB5 #5E7DCD

Accessibility & contrast

On white

9.25
#2A4486 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#2A4486 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4486
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4486#FFFFFF#000000##FFFFFF
##2A44861.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214C88
Deuteranopia (green-blind)
#0D4385
Tritanopia (blue-blind)
#00535E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2a4486;
/* rgb */ color: rgb(42, 68, 134);
/* oklch */ color: oklch(40.4% 0.115 265.4);
Tailwind
colors: {
  custom: {
    50: '#6f77aa',
    500: '#2a4486',
    950: '#000000',
  },
}
SCSS
$custom: #2a4486;
$custom-light: #6f77aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4486",
  "rgb": {
    "r": 42,
    "g": 68,
    "b": 134
  },
  "hsl": {
    "h": 223.043,
    "s": 52.273,
    "l": 34.51
  },
  "oklch": {
    "l": 0.40356,
    "c": 0.11494,
    "h": 265.4
  },
  "luminance": 0.06348
}

Semantic roles & 50–950 ramp

primary
#2A4486
secondary
#B2995A
accent
#B34CDC
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2A4486

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

Preview Lab → · Contrast checker → · Palette generator →

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