#2B4B8D#2B4B8D

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

Color values

HEX#2B4B8D
RGBrgb(43, 75, 141)
HSLhsl(220, 53%, 36%)
HSVhsv(220, 70%, 55%)
CMYKcmyk(69.5%, 46.8%, 0%, 44.7%)
CIE-LABlab(32.85, 11.43, -40.17)
CIE-LCHlch(32.85, 41.77, 285.89°)
OKLaboklab(42.49% -0.0142 -0.1149)
OKLCHoklch(42.49% 0.116 263)
XYZxyz(8.3184, 7.4680, 26.1972)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4B8D #8D6D2B
analogous
#2B7C8D #2B4B8D #3C2B8D
triadic
#2B4B8D #8D2B4B #4B8D2B
tetradic
#2B4B8D #8D2B7C #8D6D2B #2B8D3C
square
#2B4B8D #8D2B7C #8D6D2B #2B8D3C
split-complementary
#2B4B8D #8D3C2B #7C8D2B
monochromatic
#0E192F #1D325E #2B4B8D #3964BC #6386CF

Accessibility & contrast

On white

8.42
#2B4B8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#2B4B8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4B8D
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4B8D#FFFFFF#000000##FFFFFF
##2B4B8D1.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A528F
Deuteranopia (green-blind)
#17498C
Tritanopia (blue-blind)
#005A65
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2b4b8d;
/* rgb */ color: rgb(43, 75, 141);
/* oklch */ color: oklch(42.5% 0.116 263.0);
Tailwind
colors: {
  custom: {
    50: '#707caf',
    500: '#2b4b8d',
    950: '#000000',
  },
}
SCSS
$custom: #2b4b8d;
$custom-light: #707caf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4b8d",
  "rgb": {
    "r": 43,
    "g": 75,
    "b": 141
  },
  "hsl": {
    "h": 220.408,
    "s": 53.261,
    "l": 36.078
  },
  "oklch": {
    "l": 0.42494,
    "c": 0.1158,
    "h": 263
  },
  "luminance": 0.07469
}

Semantic roles & 50–950 ramp

primary
#2B4B8D
secondary
#B6995E
accent
#AD4BDD
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2B4B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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