#2A4C8F#2A4C8F

#2A4C8F is a dark, moderate blue. Relative luminance 0.076; OKLCH L 42.8% C 0.118 H 262.3°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#2A4C8F
RGBrgb(42, 76, 143)
HSLhsl(220, 55%, 36%)
HSVhsv(220, 71%, 56%)
CMYKcmyk(70.6%, 46.9%, 0%, 43.9%)
CIE-LABlab(33.23, 11.36, -40.79)
CIE-LCHlch(33.23, 42.34, 285.57°)
OKLaboklab(42.81% -0.0157 -0.1167)
OKLCHoklch(42.81% 0.118 262.3)
XYZxyz(8.4955, 7.6434, 27.0089)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4C8F #8F6D2A
analogous
#2A7F8F #2A4C8F #3B2A8F
triadic
#2A4C8F #8F2A4C #4C8F2A
tetradic
#2A4C8F #8F2A7F #8F6D2A #2A8F3B
square
#2A4C8F #8F2A7F #8F6D2A #2A8F3B
split-complementary
#2A4C8F #8F3B2A #7F8F2A
monochromatic
#0E1A30 #1C3360 #2A4C8F #3865BE #6288D1

Accessibility & contrast

On white

8.30
#2A4C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#2A4C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4C8F
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4C8F#FFFFFF#000000##FFFFFF
##2A4C8F1.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5392
Deuteranopia (green-blind)
#164A8E
Tritanopia (blue-blind)
#005C66
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2a4c8f;
/* rgb */ color: rgb(42, 76, 143);
/* oklch */ color: oklch(42.8% 0.118 262.3);
Tailwind
colors: {
  custom: {
    50: '#707db0',
    500: '#2a4c8f',
    950: '#000000',
  },
}
SCSS
$custom: #2a4c8f;
$custom-light: #707db0;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4c8f",
  "rgb": {
    "r": 42,
    "g": 76,
    "b": 143
  },
  "hsl": {
    "h": 219.802,
    "s": 54.595,
    "l": 36.275
  },
  "oklch": {
    "l": 0.42814,
    "c": 0.1178,
    "h": 262.3
  },
  "luminance": 0.07644
}

Semantic roles & 50–950 ramp

primary
#2A4C8F
secondary
#B7995E
accent
#AC4ADE
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2A4C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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