#2B5074#2B5074

#2B5074 is a dark, moderate cyan. Relative luminance 0.075; OKLCH L 42.1% C 0.074 H 249.4°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#2B5074
RGBrgb(43, 80, 116)
HSLhsl(210, 46%, 31%)
HSVhsv(210, 63%, 45%)
CMYKcmyk(62.9%, 31%, 0%, 54.5%)
CIE-LABlab(32.94, -1.22, -24.56)
CIE-LCHlch(32.94, 24.59, 267.16°)
OKLaboklab(42.1% -0.026 -0.0692)
OKLCHoklch(42.1% 0.074 249.4)
XYZxyz(7.0162, 7.5112, 17.5997)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5074 #744F2B
analogous
#2B7473 #2B5074 #2B2B74
triadic
#2B5074 #742B50 #50742B
tetradic
#2B5074 #732B74 #744F2B #2B742B
square
#2B5074 #732B74 #744F2B #2B742B
split-complementary
#2B5074 #742B2B #74732B
monochromatic
#0A121B #1A3147 #2B5074 #3C6FA1 #588DC1

Accessibility & contrast

On white

8.39
#2B5074 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#2B5074 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5074
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5074#FFFFFF#000000##FFFFFF
##2B50741.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415176
Deuteranopia (green-blind)
#374A73
Tritanopia (blue-blind)
#00585D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2b5074;
/* rgb */ color: rgb(43, 80, 116);
/* oklch */ color: oklch(42.1% 0.074 249.4);
Tailwind
colors: {
  custom: {
    50: '#6b809c',
    500: '#2b5074',
    950: '#000000',
  },
}
SCSS
$custom: #2b5074;
$custom-light: #6b809c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5074",
  "rgb": {
    "r": 43,
    "g": 80,
    "b": 116
  },
  "hsl": {
    "h": 209.589,
    "s": 45.912,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42098,
    "c": 0.07395,
    "h": 249.4
  },
  "luminance": 0.07512
}

Semantic roles & 50–950 ramp

primary
#2B5074
secondary
#A67D55
accent
#9352D6
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #2B5074

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

Preview Lab → · Contrast checker → · Palette generator →

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