#2B4A8A#2B4A8A

#2B4A8A is a dark, moderate blue. Relative luminance 0.072; OKLCH L 42.1% C 0.113 H 263.0°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#2B4A8A
RGBrgb(43, 74, 138)
HSLhsl(220, 52%, 35%)
HSVhsv(220, 69%, 54%)
CMYKcmyk(68.8%, 46.4%, 0%, 45.9%)
CIE-LABlab(32.36, 10.96, -39.12)
CIE-LCHlch(32.36, 40.62, 285.65°)
OKLaboklab(42.05% -0.0137 -0.1118)
OKLCHoklch(42.05% 0.113 263)
XYZxyz(8.0309, 7.2453, 25.0151)
Luminance0.0725 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4A8A #8A6B2B
analogous
#2B798A #2B4A8A #3B2B8A
triadic
#2B4A8A #8A2B4A #4A8A2B
tetradic
#2B4A8A #8A2B79 #8A6B2B #2B8A3B
square
#2B4A8A #8A2B79 #8A6B2B #2B8A3B
split-complementary
#2B4A8A #8A3B2B #798A2B
monochromatic
#0E182D #1C315B #2B4A8A #3A63B9 #6185CE

Accessibility & contrast

On white

8.57
#2B4A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#2B4A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4A8A
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4A8A#FFFFFF#000000##FFFFFF
##2B4A8A1.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B518C
Deuteranopia (green-blind)
#194889
Tritanopia (blue-blind)
#005963
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2b4a8a;
/* rgb */ color: rgb(43, 74, 138);
/* oklch */ color: oklch(42.1% 0.113 263.0);
Tailwind
colors: {
  custom: {
    50: '#707cac',
    500: '#2b4a8a',
    950: '#000000',
  },
}
SCSS
$custom: #2b4a8a;
$custom-light: #707cac;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4a8a",
  "rgb": {
    "r": 43,
    "g": 74,
    "b": 138
  },
  "hsl": {
    "h": 220.421,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.42054,
    "c": 0.11269,
    "h": 263
  },
  "luminance": 0.07246
}

Semantic roles & 50–950 ramp

primary
#2B4A8A
secondary
#B4985D
accent
#AD4CDC
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2B4A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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