#2A4184#2A4184

#2A4184 is a dark, moderate blue. Relative luminance 0.059; OKLCH L 39.5% C 0.116 H 266.8°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#2A4184
RGBrgb(42, 65, 132)
HSLhsl(225, 52%, 34%)
HSVhsv(225, 68%, 52%)
CMYKcmyk(68.2%, 50.8%, 0%, 48.2%)
CIE-LABlab(29.26, 14.60, -40.39)
CIE-LCHlch(29.26, 42.95, 289.87°)
OKLaboklab(39.54% -0.0065 -0.1158)
OKLCHoklch(39.54% 0.116 266.8)
XYZxyz(7.0086, 5.9381, 22.6021)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4184 #846D2A
analogous
#2A6E84 #2A4184 #402A84
triadic
#2A4184 #842A41 #41842A
tetradic
#2A4184 #842A6E #846D2A #2A8440
square
#2A4184 #842A6E #846D2A #2A8440
split-complementary
#2A4184 #84402A #6E842A
monochromatic
#0C1327 #1B2A56 #2A4184 #3958B2 #5D79CB

Accessibility & contrast

On white

9.60
#2A4184 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#2A4184 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4184
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4184#FFFFFF#000000##FFFFFF
##2A41841.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4986
Deuteranopia (green-blind)
#054183
Tritanopia (blue-blind)
#00515C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2a4184;
/* rgb */ color: rgb(42, 65, 132);
/* oklch */ color: oklch(39.5% 0.116 266.8);
Tailwind
colors: {
  custom: {
    50: '#6e75a8',
    500: '#2a4184',
    950: '#000000',
  },
}
SCSS
$custom: #2a4184;
$custom-light: #6e75a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4184",
  "rgb": {
    "r": 42,
    "g": 65,
    "b": 132
  },
  "hsl": {
    "h": 224.667,
    "s": 51.724,
    "l": 34.118
  },
  "oklch": {
    "l": 0.39537,
    "c": 0.11595,
    "h": 266.8
  },
  "luminance": 0.05939
}

Semantic roles & 50–950 ramp

primary
#2A4184
secondary
#B19B59
accent
#B74DDB
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2A4184

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

Preview Lab → · Contrast checker → · Palette generator →

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