#2A4B8A#2A4B8A

#2A4B8A is a dark, moderate blue. Relative luminance 0.074; OKLCH L 42.2% C 0.112 H 262.0°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#2A4B8A
RGBrgb(42, 75, 138)
HSLhsl(219, 53%, 35%)
HSVhsv(219, 70%, 54%)
CMYKcmyk(69.6%, 45.7%, 0%, 45.9%)
CIE-LABlab(32.61, 10.11, -38.72)
CIE-LCHlch(32.61, 40.02, 284.64°)
OKLaboklab(42.23% -0.0156 -0.1107)
OKLCHoklch(42.23% 0.112 262)
XYZxyz(8.0567, 7.3586, 25.0356)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4B8A #8A692A
analogous
#2A7B8A #2A4B8A #392A8A
triadic
#2A4B8A #8A2A4B #4B8A2A
tetradic
#2A4B8A #8A2A7B #8A692A #2A8A39
square
#2A4B8A #8A2A7B #8A692A #2A8A39
split-complementary
#2A4B8A #8A392A #7B8A2A
monochromatic
#0D182C #1C315B #2A4B8A #3864B9 #6086CF

Accessibility & contrast

On white

8.50
#2A4B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#2A4B8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4B8A
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4B8A#FFFFFF#000000##FFFFFF
##2A4B8A1.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C518C
Deuteranopia (green-blind)
#1B4989
Tritanopia (blue-blind)
#005A63
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2a4b8a;
/* rgb */ color: rgb(42, 75, 138);
/* oklch */ color: oklch(42.2% 0.112 262.0);
Tailwind
colors: {
  custom: {
    50: '#6f7cac',
    500: '#2a4b8a',
    950: '#000000',
  },
}
SCSS
$custom: #2a4b8a;
$custom-light: #6f7cac;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4b8a",
  "rgb": {
    "r": 42,
    "g": 75,
    "b": 138
  },
  "hsl": {
    "h": 219.375,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.42234,
    "c": 0.11178,
    "h": 262
  },
  "luminance": 0.07359
}

Semantic roles & 50–950 ramp

primary
#2A4B8A
secondary
#B4965B
accent
#AB4BDD
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2A4B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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