#2A4B8D#2A4B8D

#2A4B8D is a dark, moderate blue. Relative luminance 0.074; OKLCH L 42.4% C 0.116 H 262.5°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#2A4B8D
RGBrgb(42, 75, 141)
HSLhsl(220, 54%, 36%)
HSVhsv(220, 70%, 55%)
CMYKcmyk(70.2%, 46.8%, 0%, 44.7%)
CIE-LABlab(32.80, 11.27, -40.25)
CIE-LCHlch(32.80, 41.79, 285.64°)
OKLaboklab(42.45% -0.0151 -0.1152)
OKLCHoklch(42.45% 0.116 262.5)
XYZxyz(8.2769, 7.4466, 26.1953)
Luminance0.0745 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4B8D #8D6C2A
analogous
#2A7C8D #2A4B8D #3A2A8D
triadic
#2A4B8D #8D2A4B #4B8D2A
tetradic
#2A4B8D #8D2A7C #8D6C2A #2A8D3A
square
#2A4B8D #8D2A7C #8D6C2A #2A8D3A
split-complementary
#2A4B8D #8D3A2A #7C8D2A
monochromatic
#0E192F #1C325E #2A4B8D #3864BC #6186D0

Accessibility & contrast

On white

8.44
#2A4B8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#2A4B8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4B8D
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4B8D#FFFFFF#000000##FFFFFF
##2A4B8D1.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A528F
Deuteranopia (green-blind)
#17498C
Tritanopia (blue-blind)
#005A65
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2a4b8d;
/* rgb */ color: rgb(42, 75, 141);
/* oklch */ color: oklch(42.4% 0.116 262.5);
Tailwind
colors: {
  custom: {
    50: '#707caf',
    500: '#2a4b8d',
    950: '#000000',
  },
}
SCSS
$custom: #2a4b8d;
$custom-light: #707caf;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4b8d",
  "rgb": {
    "r": 42,
    "g": 75,
    "b": 141
  },
  "hsl": {
    "h": 220,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.42445,
    "c": 0.11616,
    "h": 262.5
  },
  "luminance": 0.07447
}

Semantic roles & 50–950 ramp

primary
#2A4B8D
secondary
#B6985D
accent
#AC4ADD
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2A4B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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