#2A416C#2A416C

#2A416C is a dark, moderate blue. Relative luminance 0.054; OKLCH L 37.9% C 0.079 H 262.0°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#2A416C
RGBrgb(42, 65, 108)
HSLhsl(219, 44%, 29%)
HSVhsv(219, 61%, 42%)
CMYKcmyk(61.1%, 39.8%, 0%, 57.6%)
CIE-LABlab(27.72, 5.53, -27.74)
CIE-LCHlch(27.72, 28.28, 281.27°)
OKLaboklab(37.87% -0.0111 -0.0786)
OKLCHoklch(37.87% 0.079 262)
XYZxyz(5.5510, 5.3551, 14.9256)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A416C #6C552A
analogous
#2A626C #2A416C #342A6C
triadic
#2A416C #6C2A41 #416C2A
tetradic
#2A416C #6C2A62 #6C552A #2A6C34
square
#2A416C #6C2A62 #6C552A #2A6C34
split-complementary
#2A416C #6C342A #626C2A
monochromatic
#090D16 #192640 #2A416C #3B5C98 #5478BC

Accessibility & contrast

On white

10.14
#2A416C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#2A416C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A416C
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A416C#FFFFFF#000000##FFFFFF
##2A416C1.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F456E
Deuteranopia (green-blind)
#263F6B
Tritanopia (blue-blind)
#004B51
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2a416c;
/* rgb */ color: rgb(42, 65, 108);
/* oklch */ color: oklch(37.9% 0.079 262.0);
Tailwind
colors: {
  custom: {
    50: '#6a7596',
    500: '#2a416c',
    950: '#000000',
  },
}
SCSS
$custom: #2a416c;
$custom-light: #6a7596;
$custom-dark: #000000;
JSON
{
  "hex": "#2a416c",
  "rgb": {
    "r": 42,
    "g": 65,
    "b": 108
  },
  "hsl": {
    "h": 219.091,
    "s": 44,
    "l": 29.412
  },
  "oklch": {
    "l": 0.37865,
    "c": 0.0794,
    "h": 262
  },
  "luminance": 0.05356
}

Semantic roles & 50–950 ramp

primary
#2A416C
secondary
#9E8454
accent
#A754D4
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07080D
muted
#7A7B7E

Preview Lab

Preview with #2A416C

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

Preview Lab → · Contrast checker → · Palette generator →

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