#2B4E7E#2B4E7E

#2B4E7E is a dark, moderate cyan. Relative luminance 0.075; OKLCH L 42.2% C 0.090 H 256.7°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#2B4E7E
RGBrgb(43, 78, 126)
HSLhsl(215, 49%, 33%)
HSVhsv(215, 66%, 49%)
CMYKcmyk(65.9%, 38.1%, 0%, 50.6%)
CIE-LABlab(32.85, 3.76, -30.93)
CIE-LCHlch(32.85, 31.16, 276.93°)
OKLaboklab(42.2% -0.0207 -0.0878)
OKLCHoklch(42.2% 0.09 256.7)
XYZxyz(7.4852, 7.4680, 20.7816)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4E7E #7E5B2B
analogous
#2B777E #2B4E7E #322B7E
triadic
#2B4E7E #7E2B4E #4E7E2B
tetradic
#2B4E7E #7E2B77 #7E5B2B #2B7E32
square
#2B4E7E #7E2B77 #7E5B2B #2B7E32
split-complementary
#2B4E7E #7E322B #777E2B
monochromatic
#0C1623 #1B3250 #2B4E7E #3B6AAC #5C89C7

Accessibility & contrast

On white

8.42
#2B4E7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B4E7E
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4E7E#FFFFFF#000000##FFFFFF
##2B4E7E1.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395280
Deuteranopia (green-blind)
#2E4A7D
Tritanopia (blue-blind)
#005960
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2b4e7e;
/* rgb */ color: rgb(43, 78, 126);
/* oklch */ color: oklch(42.2% 0.090 256.7);
Tailwind
colors: {
  custom: {
    50: '#6d7fa3',
    500: '#2b4e7e',
    950: '#000000',
  },
}
SCSS
$custom: #2b4e7e;
$custom-light: #6d7fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4e7e",
  "rgb": {
    "r": 43,
    "g": 78,
    "b": 126
  },
  "hsl": {
    "h": 214.699,
    "s": 49.112,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42199,
    "c": 0.09019,
    "h": 256.7
  },
  "luminance": 0.07469
}

Semantic roles & 50–950 ramp

primary
#2B4E7E
secondary
#AD8958
accent
#9F4FD9
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2B4E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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