#2A4A88#2A4A88

#2A4A88 is a dark, moderate blue. Relative luminance 0.072; OKLCH L 41.9% C 0.110 H 262.2°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#2A4A88
RGBrgb(42, 74, 136)
HSLhsl(220, 53%, 35%)
HSVhsv(220, 69%, 53%)
CMYKcmyk(69.1%, 45.6%, 0%, 46.7%)
CIE-LABlab(32.18, 10.02, -38.17)
CIE-LCHlch(32.18, 39.46, 284.71°)
OKLaboklab(41.87% -0.015 -0.1091)
OKLCHoklch(41.87% 0.11 262.2)
XYZxyz(7.8460, 7.1666, 24.2576)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4A88 #88682A
analogous
#2A7988 #2A4A88 #392A88
triadic
#2A4A88 #882A4A #4A882A
tetradic
#2A4A88 #882A79 #88682A #2A8839
square
#2A4A88 #882A79 #88682A #2A8839
split-complementary
#2A4A88 #88392A #79882A
monochromatic
#0D172A #1C3159 #2A4A88 #3863B7 #5F85CE

Accessibility & contrast

On white

8.63
#2A4A88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#2A4A88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4A88
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4A88#FFFFFF#000000##FFFFFF
##2A4A881.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C508A
Deuteranopia (green-blind)
#1C4887
Tritanopia (blue-blind)
#005862
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2a4a88;
/* rgb */ color: rgb(42, 74, 136);
/* oklch */ color: oklch(41.9% 0.110 262.2);
Tailwind
colors: {
  custom: {
    50: '#6f7cab',
    500: '#2a4a88',
    950: '#000000',
  },
}
SCSS
$custom: #2a4a88;
$custom-light: #6f7cab;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4a88",
  "rgb": {
    "r": 42,
    "g": 74,
    "b": 136
  },
  "hsl": {
    "h": 219.574,
    "s": 52.809,
    "l": 34.902
  },
  "oklch": {
    "l": 0.41865,
    "c": 0.11012,
    "h": 262.2
  },
  "luminance": 0.07167
}

Semantic roles & 50–950 ramp

primary
#2A4A88
secondary
#B3955B
accent
#AB4CDC
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2A4A88

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

Preview Lab → · Contrast checker → · Palette generator →

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