#2A416F#2A416F

#2A416F is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.1% C 0.084 H 262.9°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#2A416F
RGBrgb(42, 65, 111)
HSLhsl(220, 45%, 30%)
HSVhsv(220, 62%, 44%)
CMYKcmyk(62.2%, 41.4%, 0%, 56.5%)
CIE-LABlab(27.90, 6.64, -29.37)
CIE-LCHlch(27.90, 30.11, 282.75°)
OKLaboklab(38.06% -0.0103 -0.0834)
OKLCHoklch(38.06% 0.084 262.9)
XYZxyz(5.7134, 5.4200, 15.7809)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A416F #6F582A
analogous
#2A636F #2A416F #362A6F
triadic
#2A416F #6F2A41 #416F2A
tetradic
#2A416F #6F2A63 #6F582A #2A6F36
square
#2A416F #6F2A63 #6F582A #2A6F36
split-complementary
#2A416F #6F362A #636F2A
monochromatic
#080D16 #192743 #2A416F #3B5B9B #5578BF

Accessibility & contrast

On white

10.08
#2A416F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#2A416F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A416F
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A416F#FFFFFF#000000##FFFFFF
##2A416F1.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4571
Deuteranopia (green-blind)
#243F6E
Tritanopia (blue-blind)
#004B52
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2a416f;
/* rgb */ color: rgb(42, 65, 111);
/* oklch */ color: oklch(38.1% 0.084 262.9);
Tailwind
colors: {
  custom: {
    50: '#6a7598',
    500: '#2a416f',
    950: '#000000',
  },
}
SCSS
$custom: #2a416f;
$custom-light: #6a7598;
$custom-dark: #000000;
JSON
{
  "hex": "#2a416f",
  "rgb": {
    "r": 42,
    "g": 65,
    "b": 111
  },
  "hsl": {
    "h": 220,
    "s": 45.098,
    "l": 30
  },
  "oklch": {
    "l": 0.38058,
    "c": 0.08403,
    "h": 262.9
  },
  "luminance": 0.05421
}

Semantic roles & 50–950 ramp

primary
#2A416F
secondary
#A18754
accent
#AA53D5
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #2A416F

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

Preview Lab → · Contrast checker → · Palette generator →

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