#2A4889#2A4889

#2A4889 is a dark, moderate blue. Relative luminance 0.069; OKLCH L 41.5% C 0.114 H 263.6°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#2A4889
RGBrgb(42, 72, 137)
HSLhsl(221, 53%, 35%)
HSVhsv(221, 69%, 54%)
CMYKcmyk(69.3%, 47.4%, 0%, 46.3%)
CIE-LABlab(31.65, 11.75, -39.64)
CIE-LCHlch(31.65, 41.34, 286.52°)
OKLaboklab(41.48% -0.0128 -0.1134)
OKLCHoklch(41.48% 0.114 263.6)
XYZxyz(7.7860, 6.9323, 24.5898)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4889 #896B2A
analogous
#2A7789 #2A4889 #3C2A89
triadic
#2A4889 #892A48 #48892A
tetradic
#2A4889 #892A77 #896B2A #2A893C
square
#2A4889 #892A77 #896B2A #2A893C
split-complementary
#2A4889 #893C2A #77892A
monochromatic
#0D172B #1C2F5A #2A4889 #3861B8 #5F82CE

Accessibility & contrast

On white

8.80
#2A4889 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#2A4889 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4889
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4889#FFFFFF#000000##FFFFFF
##2A48891.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274F8B
Deuteranopia (green-blind)
#154688
Tritanopia (blue-blind)
#005762
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2a4889;
/* rgb */ color: rgb(42, 72, 137);
/* oklch */ color: oklch(41.5% 0.114 263.6);
Tailwind
colors: {
  custom: {
    50: '#6f7aac',
    500: '#2a4889',
    950: '#000000',
  },
}
SCSS
$custom: #2a4889;
$custom-light: #6f7aac;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4889",
  "rgb": {
    "r": 42,
    "g": 72,
    "b": 137
  },
  "hsl": {
    "h": 221.053,
    "s": 53.073,
    "l": 35.098
  },
  "oklch": {
    "l": 0.41478,
    "c": 0.11415,
    "h": 263.6
  },
  "luminance": 0.06933
}

Semantic roles & 50–950 ramp

primary
#2A4889
secondary
#B4985B
accent
#AF4BDC
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2A4889

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

Preview Lab → · Contrast checker → · Palette generator →

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