#2B507C#2B507C

#2B507C is a dark, moderate cyan. Relative luminance 0.077; OKLCH L 42.6% C 0.085 H 253.9°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#2B507C
RGBrgb(43, 80, 124)
HSLhsl(213, 49%, 33%)
HSVhsv(213, 65%, 49%)
CMYKcmyk(65.3%, 35.5%, 0%, 51.4%)
CIE-LABlab(33.36, 1.71, -28.88)
CIE-LCHlch(33.36, 28.93, 273.39°)
OKLaboklab(42.56% -0.0236 -0.0818)
OKLCHoklch(42.56% 0.085 253.9)
XYZxyz(7.5017, 7.7054, 20.1568)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B507C #7C572B
analogous
#2B787C #2B507C #2F2B7C
triadic
#2B507C #7C2B50 #507C2B
tetradic
#2B507C #7C2B78 #7C572B #2B7C2F
square
#2B507C #7C2B78 #7C572B #2B7C2F
split-complementary
#2B507C #7C2F2B #787C2B
monochromatic
#0B1521 #1B334F #2B507C #3B6DA9 #5B8CC6

Accessibility & contrast

On white

8.26
#2B507C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#2B507C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B507C
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B507C#FFFFFF#000000##FFFFFF
##2B507C1.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D537E
Deuteranopia (green-blind)
#324B7B
Tritanopia (blue-blind)
#005A60
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2b507c;
/* rgb */ color: rgb(43, 80, 124);
/* oklch */ color: oklch(42.6% 0.085 253.9);
Tailwind
colors: {
  custom: {
    50: '#6d80a2',
    500: '#2b507c',
    950: '#000000',
  },
}
SCSS
$custom: #2b507c;
$custom-light: #6d80a2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b507c",
  "rgb": {
    "r": 43,
    "g": 80,
    "b": 124
  },
  "hsl": {
    "h": 212.593,
    "s": 48.503,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42563,
    "c": 0.08509,
    "h": 253.9
  },
  "luminance": 0.07706
}

Semantic roles & 50–950 ramp

primary
#2B507C
secondary
#AC8557
accent
#9A50D8
background
#F6F7FA
surface
#ECEEF3
border
#C7C9CD
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #2B507C

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

Preview Lab → · Contrast checker → · Palette generator →

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