#2B4E7A#2B4E7A

#2B4E7A is a dark, moderate cyan. Relative luminance 0.074; OKLCH L 42.0% C 0.084 H 255.0°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#2B4E7A
RGBrgb(43, 78, 122)
HSLhsl(213, 48%, 32%)
HSVhsv(213, 65%, 48%)
CMYKcmyk(64.8%, 36.1%, 0%, 52.2%)
CIE-LABlab(32.63, 2.27, -28.80)
CIE-LCHlch(32.63, 28.89, 274.51°)
OKLaboklab(41.95% -0.0218 -0.0815)
OKLCHoklch(41.95% 0.084 255)
XYZxyz(7.2322, 7.3668, 19.4494)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4E7A #7A572B
analogous
#2B767A #2B4E7A #302B7A
triadic
#2B4E7A #7A2B4E #4E7A2B
tetradic
#2B4E7A #7A2B76 #7A572B #2B7A30
square
#2B4E7A #7A2B76 #7A572B #2B7A30
split-complementary
#2B4E7A #7A302B #767A2B
monochromatic
#0B141F #1B314D #2B4E7A #3B6BA7 #5A8AC5

Accessibility & contrast

On white

8.49
#2B4E7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#2B4E7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4E7A
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4E7A#FFFFFF#000000##FFFFFF
##2B4E7A1.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B517C
Deuteranopia (green-blind)
#304979
Tritanopia (blue-blind)
#00585E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2b4e7a;
/* rgb */ color: rgb(43, 78, 122);
/* oklch */ color: oklch(42.0% 0.084 255.0);
Tailwind
colors: {
  custom: {
    50: '#6c7fa0',
    500: '#2b4e7a',
    950: '#000000',
  },
}
SCSS
$custom: #2b4e7a;
$custom-light: #6c7fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4e7a",
  "rgb": {
    "r": 43,
    "g": 78,
    "b": 122
  },
  "hsl": {
    "h": 213.418,
    "s": 47.879,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41954,
    "c": 0.08442,
    "h": 255
  },
  "luminance": 0.07368
}

Semantic roles & 50–950 ramp

primary
#2B4E7A
secondary
#AB8556
accent
#9C50D7
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0F
muted
#7A7C7E

Preview Lab

Preview with #2B4E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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