#2B4B8A#2B4B8A

#2B4B8A is a dark, moderate blue. Relative luminance 0.074; OKLCH L 42.3% C 0.111 H 262.4°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#2B4B8A
RGBrgb(43, 75, 138)
HSLhsl(220, 52%, 35%)
HSVhsv(220, 69%, 54%)
CMYKcmyk(68.8%, 45.7%, 0%, 45.9%)
CIE-LABlab(32.66, 10.29, -38.64)
CIE-LCHlch(32.66, 39.99, 284.91°)
OKLaboklab(42.28% -0.0147 -0.1104)
OKLCHoklch(42.28% 0.111 262.4)
XYZxyz(8.0982, 7.3799, 25.0375)
Luminance0.0738 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4B8A #8A6A2B
analogous
#2B7A8A #2B4B8A #3A2B8A
triadic
#2B4B8A #8A2B4B #4B8A2B
tetradic
#2B4B8A #8A2B7A #8A6A2B #2B8A3A
square
#2B4B8A #8A2B7A #8A6A2B #2B8A3A
split-complementary
#2B4B8A #8A3A2B #7A8A2B
monochromatic
#0E182D #1C325B #2B4B8A #3A64B9 #6186CE

Accessibility & contrast

On white

8.48
#2B4B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B4B8A
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4B8A#FFFFFF#000000##FFFFFF
##2B4B8A1.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C518C
Deuteranopia (green-blind)
#1C4989
Tritanopia (blue-blind)
#005A63
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2b4b8a;
/* rgb */ color: rgb(43, 75, 138);
/* oklch */ color: oklch(42.3% 0.111 262.4);
Tailwind
colors: {
  custom: {
    50: '#707cac',
    500: '#2b4b8a',
    950: '#000000',
  },
}
SCSS
$custom: #2b4b8a;
$custom-light: #707cac;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4b8a",
  "rgb": {
    "r": 43,
    "g": 75,
    "b": 138
  },
  "hsl": {
    "h": 219.789,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.42283,
    "c": 0.11141,
    "h": 262.4
  },
  "luminance": 0.07381
}

Semantic roles & 50–950 ramp

primary
#2B4B8A
secondary
#B4975D
accent
#AB4CDC
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2B4B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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