#2B507F#2B507F

#2B507F is a dark, moderate cyan. Relative luminance 0.078; OKLCH L 42.7% C 0.089 H 255.3°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#2B507F
RGBrgb(43, 80, 127)
HSLhsl(214, 49%, 33%)
HSVhsv(214, 66%, 50%)
CMYKcmyk(66.1%, 37%, 0%, 50.2%)
CIE-LABlab(33.53, 2.82, -30.48)
CIE-LCHlch(33.53, 30.61, 275.29°)
OKLaboklab(42.74% -0.0227 -0.0864)
OKLCHoklch(42.74% 0.089 255.3)
XYZxyz(7.6943, 7.7825, 21.1712)
Luminance0.0778 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B507F #7F5A2B
analogous
#2B7A7F #2B507F #302B7F
triadic
#2B507F #7F2B50 #507F2B
tetradic
#2B507F #7F2B7A #7F5A2B #2B7F30
square
#2B507F #7F2B7A #7F5A2B #2B7F30
split-complementary
#2B507F #7F302B #7A7F2B
monochromatic
#0C1624 #1C3351 #2B507F #3A6DAD #5C8CC8

Accessibility & contrast

On white

8.21
#2B507F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#2B507F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B507F
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B507F#FFFFFF#000000##FFFFFF
##2B507F1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5381
Deuteranopia (green-blind)
#304B7E
Tritanopia (blue-blind)
#005B61
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2b507f;
/* rgb */ color: rgb(43, 80, 127);
/* oklch */ color: oklch(42.7% 0.089 255.3);
Tailwind
colors: {
  custom: {
    50: '#6d80a4',
    500: '#2b507f',
    950: '#000000',
  },
}
SCSS
$custom: #2b507f;
$custom-light: #6d80a4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b507f",
  "rgb": {
    "r": 43,
    "g": 80,
    "b": 127
  },
  "hsl": {
    "h": 213.571,
    "s": 49.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42744,
    "c": 0.08937,
    "h": 255.3
  },
  "luminance": 0.07783
}

Semantic roles & 50–950 ramp

primary
#2B507F
secondary
#AE8858
accent
#9C4FD9
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2B507F

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

Preview Lab → · Contrast checker → · Palette generator →

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