#2B507A#2B507A

#2B507A is a dark, moderate cyan. Relative luminance 0.077; OKLCH L 42.4% C 0.082 H 252.9°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#2B507A
RGBrgb(43, 80, 122)
HSLhsl(212, 48%, 32%)
HSVhsv(212, 65%, 48%)
CMYKcmyk(64.8%, 34.4%, 0%, 52.2%)
CIE-LABlab(33.25, 0.97, -27.81)
CIE-LCHlch(33.25, 27.82, 272.00°)
OKLaboklab(42.44% -0.0241 -0.0786)
OKLCHoklch(42.44% 0.082 252.9)
XYZxyz(7.3765, 7.6554, 19.4975)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B507A #7A552B
analogous
#2B787A #2B507A #2E2B7A
triadic
#2B507A #7A2B50 #507A2B
tetradic
#2B507A #7A2B78 #7A552B #2B7A2E
square
#2B507A #7A2B78 #7A552B #2B7A2E
split-complementary
#2B507A #7A2E2B #787A2B
monochromatic
#0B151F #1B324D #2B507A #3B6EA7 #5A8CC5

Accessibility & contrast

On white

8.30
#2B507A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B507A
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B507A#FFFFFF#000000##FFFFFF
##2B507A1.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E527C
Deuteranopia (green-blind)
#334B79
Tritanopia (blue-blind)
#005A5F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2b507a;
/* rgb */ color: rgb(43, 80, 122);
/* oklch */ color: oklch(42.4% 0.082 252.9);
Tailwind
colors: {
  custom: {
    50: '#6c80a0',
    500: '#2b507a',
    950: '#000000',
  },
}
SCSS
$custom: #2b507a;
$custom-light: #6c80a0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b507a",
  "rgb": {
    "r": 43,
    "g": 80,
    "b": 122
  },
  "hsl": {
    "h": 211.899,
    "s": 47.879,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42444,
    "c": 0.08227,
    "h": 252.9
  },
  "luminance": 0.07656
}

Semantic roles & 50–950 ramp

primary
#2B507A
secondary
#AB8356
accent
#9850D7
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0F
muted
#7A7C7E

Preview Lab

Preview with #2B507A

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

Preview Lab → · Contrast checker → · Palette generator →

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