#2A4D89#2A4D89

#2A4D89 is a dark, moderate blue. Relative luminance 0.076; OKLCH L 42.6% C 0.108 H 260.5°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#2A4D89
RGBrgb(42, 77, 137)
HSLhsl(218, 53%, 35%)
HSVhsv(218, 69%, 54%)
CMYKcmyk(69.3%, 43.8%, 0%, 46.3%)
CIE-LABlab(33.15, 8.39, -37.24)
CIE-LCHlch(33.15, 38.18, 282.70°)
OKLaboklab(42.63% -0.0179 -0.1063)
OKLCHoklch(42.63% 0.108 260.5)
XYZxyz(8.1225, 7.6053, 24.7020)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4D89 #89662A
analogous
#2A7C89 #2A4D89 #372A89
triadic
#2A4D89 #892A4D #4D892A
tetradic
#2A4D89 #892A7C #89662A #2A8937
square
#2A4D89 #892A7C #89662A #2A8937
split-complementary
#2A4D89 #89372A #7C892A
monochromatic
#0D182B #1C335A #2A4D89 #3867B8 #5F88CE

Accessibility & contrast

On white

8.33
#2A4D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#2A4D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4D89
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4D89#FFFFFF#000000##FFFFFF
##2A4D891.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31538B
Deuteranopia (green-blind)
#214A88
Tritanopia (blue-blind)
#005B64
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2a4d89;
/* rgb */ color: rgb(42, 77, 137);
/* oklch */ color: oklch(42.6% 0.108 260.5);
Tailwind
colors: {
  custom: {
    50: '#6f7eac',
    500: '#2a4d89',
    950: '#000000',
  },
}
SCSS
$custom: #2a4d89;
$custom-light: #6f7eac;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4d89",
  "rgb": {
    "r": 42,
    "g": 77,
    "b": 137
  },
  "hsl": {
    "h": 217.895,
    "s": 53.073,
    "l": 35.098
  },
  "oklch": {
    "l": 0.42628,
    "c": 0.10781,
    "h": 260.5
  },
  "luminance": 0.07606
}

Semantic roles & 50–950 ramp

primary
#2A4D89
secondary
#B4935B
accent
#A74BDC
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2A4D89

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

Preview Lab → · Contrast checker → · Palette generator →

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