#2A416A#2A416A

#2A416A is a dark, moderate blue. Relative luminance 0.053; OKLCH L 37.7% C 0.076 H 261.3°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#2A416A
RGBrgb(42, 65, 106)
HSLhsl(218, 43%, 29%)
HSVhsv(218, 60%, 42%)
CMYKcmyk(60.4%, 38.7%, 0%, 58.4%)
CIE-LABlab(27.61, 4.79, -26.64)
CIE-LCHlch(27.61, 27.07, 280.19°)
OKLaboklab(37.74% -0.0116 -0.0754)
OKLCHoklch(37.74% 0.076 261.3)
XYZxyz(5.4458, 5.3130, 14.3714)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A416A #6A532A
analogous
#2A616A #2A416A #332A6A
triadic
#2A416A #6A2A41 #416A2A
tetradic
#2A416A #6A2A61 #6A532A #2A6A33
square
#2A416A #6A2A61 #6A532A #2A6A33
split-complementary
#2A416A #6A332A #616A2A
monochromatic
#090D16 #19263E #2A416A #3B5C96 #5379BB

Accessibility & contrast

On white

10.18
#2A416A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2A416A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A416A
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A416A#FFFFFF#000000##FFFFFF
##2A416A1.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30446C
Deuteranopia (green-blind)
#283E69
Tritanopia (blue-blind)
#004A50
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2a416a;
/* rgb */ color: rgb(42, 65, 106);
/* oklch */ color: oklch(37.7% 0.076 261.3);
Tailwind
colors: {
  custom: {
    50: '#697595',
    500: '#2a416a',
    950: '#000000',
  },
}
SCSS
$custom: #2a416a;
$custom-light: #697595;
$custom-dark: #000000;
JSON
{
  "hex": "#2a416a",
  "rgb": {
    "r": 42,
    "g": 65,
    "b": 106
  },
  "hsl": {
    "h": 218.438,
    "s": 43.243,
    "l": 29.02
  },
  "oklch": {
    "l": 0.37738,
    "c": 0.07632,
    "h": 261.3
  },
  "luminance": 0.05313
}

Semantic roles & 50–950 ramp

primary
#2A416A
secondary
#9C8254
accent
#A655D3
background
#F6F7F9
surface
#EBEDF1
border
#C6C8CB
text
#07080D
muted
#7A7B7E

Preview Lab

Preview with #2A416A

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

Preview Lab → · Contrast checker → · Palette generator →

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