#2B4B8B#2B4B8B

#2B4B8B is a dark, moderate blue. Relative luminance 0.074; OKLCH L 42.4% C 0.113 H 262.6°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#2B4B8B
RGBrgb(43, 75, 139)
HSLhsl(220, 53%, 36%)
HSVhsv(220, 69%, 55%)
CMYKcmyk(69.1%, 46%, 0%, 45.5%)
CIE-LABlab(32.72, 10.67, -39.15)
CIE-LCHlch(32.72, 40.58, 285.25°)
OKLaboklab(42.35% -0.0146 -0.1119)
OKLCHoklch(42.35% 0.113 262.6)
XYZxyz(8.1709, 7.4090, 25.4206)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4B8B #8B6B2B
analogous
#2B7B8B #2B4B8B #3B2B8B
triadic
#2B4B8B #8B2B4B #4B8B2B
tetradic
#2B4B8B #8B2B7B #8B6B2B #2B8B3B
square
#2B4B8B #8B2B7B #8B6B2B #2B8B3B
split-complementary
#2B4B8B #8B3B2B #7B8B2B
monochromatic
#0E192E #1D325C #2B4B8B #3964BA #6286CE

Accessibility & contrast

On white

8.46
#2B4B8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#2B4B8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4B8B
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4B8B#FFFFFF#000000##FFFFFF
##2B4B8B1.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b4b8b;
/* rgb */ color: rgb(43, 75, 139);
/* oklch */ color: oklch(42.4% 0.113 262.6);
Tailwind
colors: {
  custom: {
    50: '#707cad',
    500: '#2b4b8b',
    950: '#000000',
  },
}
SCSS
$custom: #2b4b8b;
$custom-light: #707cad;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4b8b",
  "rgb": {
    "r": 43,
    "g": 75,
    "b": 139
  },
  "hsl": {
    "h": 220,
    "s": 52.747,
    "l": 35.686
  },
  "oklch": {
    "l": 0.42353,
    "c": 0.11288,
    "h": 262.6
  },
  "luminance": 0.0741
}

Semantic roles & 50–950 ramp

primary
#2B4B8B
secondary
#B5975D
accent
#AC4CDC
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2B4B8B

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

Preview Lab → · Contrast checker → · Palette generator →

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