#2B4C8A#2B4C8A

#2B4C8A is a dark, moderate blue. Relative luminance 0.075; OKLCH L 42.5% C 0.110 H 261.8°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#2B4C8A
RGBrgb(43, 76, 138)
HSLhsl(219, 52%, 35%)
HSVhsv(219, 69%, 54%)
CMYKcmyk(68.8%, 44.9%, 0%, 45.9%)
CIE-LABlab(32.96, 9.62, -38.16)
CIE-LCHlch(32.96, 39.35, 284.15°)
OKLaboklab(42.51% -0.0158 -0.109)
OKLCHoklch(42.51% 0.11 261.8)
XYZxyz(8.1665, 7.5166, 25.0603)
Luminance0.0752 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4C8A #8A692B
analogous
#2B7B8A #2B4C8A #392B8A
triadic
#2B4C8A #8A2B4C #4C8A2B
tetradic
#2B4C8A #8A2B7B #8A692B #2B8A39
square
#2B4C8A #8A2B7B #8A692B #2B8A39
split-complementary
#2B4C8A #8A392B #7B8A2B
monochromatic
#0E192D #1C325B #2B4C8A #3A66B9 #6187CE

Accessibility & contrast

On white

8.39
#2B4C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#2B4C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4C8A
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4C8A#FFFFFF#000000##FFFFFF
##2B4C8A1.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E528C
Deuteranopia (green-blind)
#1E4989
Tritanopia (blue-blind)
#005A64
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2b4c8a;
/* rgb */ color: rgb(43, 76, 138);
/* oklch */ color: oklch(42.5% 0.110 261.8);
Tailwind
colors: {
  custom: {
    50: '#707dac',
    500: '#2b4c8a',
    950: '#000000',
  },
}
SCSS
$custom: #2b4c8a;
$custom-light: #707dac;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4c8a",
  "rgb": {
    "r": 43,
    "g": 76,
    "b": 138
  },
  "hsl": {
    "h": 219.158,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.42513,
    "c": 0.11015,
    "h": 261.8
  },
  "luminance": 0.07517
}

Semantic roles & 50–950 ramp

primary
#2B4C8A
secondary
#B4965D
accent
#AA4CDC
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2B4C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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