#2B4C8B#2B4C8B

#2B4C8B is a dark, moderate blue. Relative luminance 0.075; OKLCH L 42.6% C 0.112 H 262.0°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#2B4C8B
RGBrgb(43, 76, 139)
HSLhsl(219, 53%, 36%)
HSVhsv(219, 69%, 55%)
CMYKcmyk(69.1%, 45.3%, 0%, 45.5%)
CIE-LABlab(33.02, 10.00, -38.67)
CIE-LCHlch(33.02, 39.95, 284.50°)
OKLaboklab(42.58% -0.0156 -0.1105)
OKLCHoklch(42.58% 0.112 262)
XYZxyz(8.2393, 7.5457, 25.4434)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4C8B #8B6A2B
analogous
#2B7C8B #2B4C8B #3A2B8B
triadic
#2B4C8B #8B2B4C #4C8B2B
tetradic
#2B4C8B #8B2B7C #8B6A2B #2B8B3A
square
#2B4C8B #8B2B7C #8B6A2B #2B8B3A
split-complementary
#2B4C8B #8B3A2B #7C8B2B
monochromatic
#0E192E #1D325C #2B4C8B #3966BA #6287CE

Accessibility & contrast

On white

8.37
#2B4C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#2B4C8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4C8B
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4C8B#FFFFFF#000000##FFFFFF
##2B4C8B1.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E528D
Deuteranopia (green-blind)
#1D4A8A
Tritanopia (blue-blind)
#005B64
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2b4c8b;
/* rgb */ color: rgb(43, 76, 139);
/* oklch */ color: oklch(42.6% 0.112 262.0);
Tailwind
colors: {
  custom: {
    50: '#707dad',
    500: '#2b4c8b',
    950: '#000000',
  },
}
SCSS
$custom: #2b4c8b;
$custom-light: #707dad;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4c8b",
  "rgb": {
    "r": 43,
    "g": 76,
    "b": 139
  },
  "hsl": {
    "h": 219.375,
    "s": 52.747,
    "l": 35.686
  },
  "oklch": {
    "l": 0.42582,
    "c": 0.11161,
    "h": 262
  },
  "luminance": 0.07547
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B4C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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