#2B4F7E#2B4F7E

#2B4F7E is a dark, moderate cyan. Relative luminance 0.076; OKLCH L 42.4% C 0.089 H 255.8°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#2B4F7E
RGBrgb(43, 79, 126)
HSLhsl(214, 49%, 33%)
HSVhsv(214, 66%, 49%)
CMYKcmyk(65.9%, 37.3%, 0%, 50.6%)
CIE-LABlab(33.16, 3.10, -30.44)
CIE-LCHlch(33.16, 30.60, 275.82°)
OKLaboklab(42.44% -0.0218 -0.0863)
OKLCHoklch(42.44% 0.089 255.8)
XYZxyz(7.5568, 7.6112, 20.8055)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4F7E #7E5A2B
analogous
#2B787E #2B4F7E #312B7E
triadic
#2B4F7E #7E2B4F #4F7E2B
tetradic
#2B4F7E #7E2B78 #7E5A2B #2B7E31
square
#2B4F7E #7E2B78 #7E5A2B #2B7E31
split-complementary
#2B4F7E #7E312B #787E2B
monochromatic
#0C1623 #1B3250 #2B4F7E #3B6CAC #5C8BC7

Accessibility & contrast

On white

8.33
#2B4F7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#2B4F7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4F7E
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4F7E#FFFFFF#000000##FFFFFF
##2B4F7E1.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5280
Deuteranopia (green-blind)
#2F4A7D
Tritanopia (blue-blind)
#005A60
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2b4f7e;
/* rgb */ color: rgb(43, 79, 126);
/* oklch */ color: oklch(42.4% 0.089 255.8);
Tailwind
colors: {
  custom: {
    50: '#6d80a3',
    500: '#2b4f7e',
    950: '#000000',
  },
}
SCSS
$custom: #2b4f7e;
$custom-light: #6d80a3;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4f7e",
  "rgb": {
    "r": 43,
    "g": 79,
    "b": 126
  },
  "hsl": {
    "h": 213.976,
    "s": 49.112,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42441,
    "c": 0.08905,
    "h": 255.8
  },
  "luminance": 0.07612
}

Semantic roles & 50–950 ramp

primary
#2B4F7E
secondary
#AD8858
accent
#9D4FD9
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2B4F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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