#2B4A8D#2B4A8D

#2B4A8D is a dark, moderate blue. Relative luminance 0.073; OKLCH L 42.3% C 0.117 H 263.5°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#2B4A8D
RGBrgb(43, 74, 141)
HSLhsl(221, 53%, 36%)
HSVhsv(221, 70%, 55%)
CMYKcmyk(69.5%, 47.5%, 0%, 44.7%)
CIE-LABlab(32.55, 12.11, -40.64)
CIE-LCHlch(32.55, 42.41, 286.59°)
OKLaboklab(42.27% -0.0132 -0.1163)
OKLCHoklch(42.27% 0.117 263.5)
XYZxyz(8.2511, 7.3334, 26.1748)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4A8D #8D6E2B
analogous
#2B7B8D #2B4A8D #3D2B8D
triadic
#2B4A8D #8D2B4A #4A8D2B
tetradic
#2B4A8D #8D2B7B #8D6E2B #2B8D3D
square
#2B4A8D #8D2B7B #8D6E2B #2B8D3D
split-complementary
#2B4A8D #8D3D2B #7B8D2B
monochromatic
#0E192F #1D315E #2B4A8D #3963BC #6385CF

Accessibility & contrast

On white

8.51
#2B4A8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B4A8D
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4A8D#FFFFFF#000000##FFFFFF
##2B4A8D1.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285190
Deuteranopia (green-blind)
#14488C
Tritanopia (blue-blind)
#005A64
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2b4a8d;
/* rgb */ color: rgb(43, 74, 141);
/* oklch */ color: oklch(42.3% 0.117 263.5);
Tailwind
colors: {
  custom: {
    50: '#707caf',
    500: '#2b4a8d',
    950: '#000000',
  },
}
SCSS
$custom: #2b4a8d;
$custom-light: #707caf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4a8d",
  "rgb": {
    "r": 43,
    "g": 74,
    "b": 141
  },
  "hsl": {
    "h": 221.02,
    "s": 53.261,
    "l": 36.078
  },
  "oklch": {
    "l": 0.42267,
    "c": 0.11709,
    "h": 263.5
  },
  "luminance": 0.07334
}

Semantic roles & 50–950 ramp

primary
#2B4A8D
secondary
#B69A5E
accent
#AF4BDD
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2B4A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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