#2B4E8B#2B4E8B

#2B4E8B is a dark, moderate blue. Relative luminance 0.078; OKLCH L 43.0% C 0.109 H 260.7°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#2B4E8B
RGBrgb(43, 78, 139)
HSLhsl(218, 53%, 36%)
HSVhsv(218, 69%, 55%)
CMYKcmyk(69.1%, 43.9%, 0%, 45.5%)
CIE-LABlab(33.62, 8.66, -37.72)
CIE-LCHlch(33.62, 38.70, 282.94°)
OKLaboklab(43.04% -0.0176 -0.1077)
OKLCHoklch(43.04% 0.109 260.7)
XYZxyz(8.3792, 7.8256, 25.4900)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4E8B #8B682B
analogous
#2B7E8B #2B4E8B #382B8B
triadic
#2B4E8B #8B2B4E #4E8B2B
tetradic
#2B4E8B #8B2B7E #8B682B #2B8B38
square
#2B4E8B #8B2B7E #8B682B #2B8B38
split-complementary
#2B4E8B #8B382B #7E8B2B
monochromatic
#0E1A2E #1D345C #2B4E8B #3968BA #628ACE

Accessibility & contrast

On white

8.19
#2B4E8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#2B4E8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4E8B
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4E8B#FFFFFF#000000##FFFFFF
##2B4E8B1.008.192.578.19
#FFFFFF8.191.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31548D
Deuteranopia (green-blind)
#214B8A
Tritanopia (blue-blind)
#005C65
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2b4e8b;
/* rgb */ color: rgb(43, 78, 139);
/* oklch */ color: oklch(43.0% 0.109 260.7);
Tailwind
colors: {
  custom: {
    50: '#707fad',
    500: '#2b4e8b',
    950: '#000000',
  },
}
SCSS
$custom: #2b4e8b;
$custom-light: #707fad;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4e8b",
  "rgb": {
    "r": 43,
    "g": 78,
    "b": 139
  },
  "hsl": {
    "h": 218.125,
    "s": 52.747,
    "l": 35.686
  },
  "oklch": {
    "l": 0.43044,
    "c": 0.10912,
    "h": 260.7
  },
  "luminance": 0.07826
}

Semantic roles & 50–950 ramp

primary
#2B4E8B
secondary
#B5955D
accent
#A74CDC
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2B4E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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