#2B4E7D#2B4E7D

#2B4E7D is a dark, moderate cyan. Relative luminance 0.074; OKLCH L 42.1% C 0.089 H 256.3°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#2B4E7D
RGBrgb(43, 78, 125)
HSLhsl(214, 49%, 33%)
HSVhsv(214, 66%, 49%)
CMYKcmyk(65.6%, 37.6%, 0%, 51%)
CIE-LABlab(32.79, 3.39, -30.40)
CIE-LCHlch(32.79, 30.59, 276.36°)
OKLaboklab(42.14% -0.021 -0.0862)
OKLCHoklch(42.14% 0.089 256.3)
XYZxyz(7.4210, 7.4423, 20.4435)
Luminance0.0744 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4E7D #7D5A2B
analogous
#2B777D #2B4E7D #312B7D
triadic
#2B4E7D #7D2B4E #4E7D2B
tetradic
#2B4E7D #7D2B77 #7D5A2B #2B7D31
square
#2B4E7D #7D2B77 #7D5A2B #2B7D31
split-complementary
#2B4E7D #7D312B #777D2B
monochromatic
#0C1522 #1B324F #2B4E7D #3B6AAB #5C89C7

Accessibility & contrast

On white

8.44
#2B4E7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#2B4E7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4E7D
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4E7D#FFFFFF#000000##FFFFFF
##2B4E7D1.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A517F
Deuteranopia (green-blind)
#2E4A7C
Tritanopia (blue-blind)
#00595F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2b4e7d;
/* rgb */ color: rgb(43, 78, 125);
/* oklch */ color: oklch(42.1% 0.089 256.3);
Tailwind
colors: {
  custom: {
    50: '#6d7fa3',
    500: '#2b4e7d',
    950: '#000000',
  },
}
SCSS
$custom: #2b4e7d;
$custom-light: #6d7fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4e7d",
  "rgb": {
    "r": 43,
    "g": 78,
    "b": 125
  },
  "hsl": {
    "h": 214.39,
    "s": 48.81,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42137,
    "c": 0.08874,
    "h": 256.3
  },
  "luminance": 0.07443
}

Semantic roles & 50–950 ramp

primary
#2B4E7D
secondary
#AD8857
accent
#9E4FD8
background
#F6F7FA
surface
#ECEEF3
border
#C7C9CD
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #2B4E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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