#2B4F7F#2B4F7F

#2B4F7F is a dark, moderate cyan. Relative luminance 0.076; OKLCH L 42.5% C 0.090 H 256.2°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#2B4F7F
RGBrgb(43, 79, 127)
HSLhsl(214, 49%, 33%)
HSVhsv(214, 66%, 50%)
CMYKcmyk(66.1%, 37.8%, 0%, 50.2%)
CIE-LABlab(33.22, 3.48, -30.97)
CIE-LCHlch(33.22, 31.16, 276.41°)
OKLaboklab(42.5% -0.0216 -0.0879)
OKLCHoklch(42.5% 0.09 256.2)
XYZxyz(7.6216, 7.6371, 21.1470)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4F7F #7F5B2B
analogous
#2B797F #2B4F7F #312B7F
triadic
#2B4F7F #7F2B4F #4F7F2B
tetradic
#2B4F7F #7F2B79 #7F5B2B #2B7F31
square
#2B4F7F #7F2B79 #7F5B2B #2B7F31
split-complementary
#2B4F7F #7F312B #797F2B
monochromatic
#0C1624 #1C3351 #2B4F7F #3A6BAD #5C8BC8

Accessibility & contrast

On white

8.31
#2B4F7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#2B4F7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4F7F
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4F7F#FFFFFF#000000##FFFFFF
##2B4F7F1.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5281
Deuteranopia (green-blind)
#2E4A7E
Tritanopia (blue-blind)
#005A61
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2b4f7f;
/* rgb */ color: rgb(43, 79, 127);
/* oklch */ color: oklch(42.5% 0.090 256.2);
Tailwind
colors: {
  custom: {
    50: '#6d80a4',
    500: '#2b4f7f',
    950: '#000000',
  },
}
SCSS
$custom: #2b4f7f;
$custom-light: #6d80a4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4f7f",
  "rgb": {
    "r": 43,
    "g": 79,
    "b": 127
  },
  "hsl": {
    "h": 214.286,
    "s": 49.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42502,
    "c": 0.09049,
    "h": 256.2
  },
  "luminance": 0.07638
}

Semantic roles & 50–950 ramp

primary
#2B4F7F
secondary
#AE8958
accent
#9E4FD9
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2B4F7F

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

Preview Lab → · Contrast checker → · Palette generator →

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