#2B4F8B#2B4F8B

#2B4F8B is a dark, moderate blue. Relative luminance 0.080; OKLCH L 43.3% C 0.108 H 260.0°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#2B4F8B
RGBrgb(43, 79, 139)
HSLhsl(218, 53%, 36%)
HSVhsv(218, 69%, 55%)
CMYKcmyk(69.1%, 43.2%, 0%, 45.5%)
CIE-LABlab(33.92, 8.00, -37.24)
CIE-LCHlch(33.92, 38.09, 282.13°)
OKLaboklab(43.28% -0.0187 -0.1062)
OKLCHoklch(43.28% 0.108 260)
XYZxyz(8.4508, 7.9688, 25.5139)
Luminance0.0797 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4F8B #8B672B
analogous
#2B7F8B #2B4F8B #372B8B
triadic
#2B4F8B #8B2B4F #4F8B2B
tetradic
#2B4F8B #8B2B7F #8B672B #2B8B37
square
#2B4F8B #8B2B7F #8B672B #2B8B37
split-complementary
#2B4F8B #8B372B #7F8B2B
monochromatic
#0E1A2E #1D345C #2B4F8B #396ABA #628BCE

Accessibility & contrast

On white

8.10
#2B4F8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#2B4F8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4F8B
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4F8B#FFFFFF#000000##FFFFFF
##2B4F8B1.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33558D
Deuteranopia (green-blind)
#244C8A
Tritanopia (blue-blind)
#005D66
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2b4f8b;
/* rgb */ color: rgb(43, 79, 139);
/* oklch */ color: oklch(43.3% 0.108 260.0);
Tailwind
colors: {
  custom: {
    50: '#707fad',
    500: '#2b4f8b',
    950: '#000000',
  },
}
SCSS
$custom: #2b4f8b;
$custom-light: #707fad;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4f8b",
  "rgb": {
    "r": 43,
    "g": 79,
    "b": 139
  },
  "hsl": {
    "h": 217.5,
    "s": 52.747,
    "l": 35.686
  },
  "oklch": {
    "l": 0.43276,
    "c": 0.10788,
    "h": 260
  },
  "luminance": 0.0797
}

Semantic roles & 50–950 ramp

primary
#2B4F8B
secondary
#B5945D
accent
#A64CDC
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2B4F8B

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

Preview Lab → · Contrast checker → · Palette generator →

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