#2B5271#2B5271

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

Color values

HEX#2B5271
RGBrgb(43, 82, 113)
HSLhsl(207, 45%, 31%)
HSVhsv(207, 62%, 44%)
CMYKcmyk(61.9%, 27.4%, 0%, 55.7%)
CIE-LABlab(33.44, -3.57, -21.92)
CIE-LCHlch(33.44, 22.21, 260.76°)
OKLaboklab(42.44% -0.0295 -0.0615)
OKLCHoklch(42.44% 0.068 244.4)
XYZxyz(6.9931, 7.7398, 16.7450)
Luminance0.0774 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5271 #714A2B
analogous
#2B716D #2B5271 #2B2F71
triadic
#2B5271 #712B52 #52712B
tetradic
#2B5271 #6D2B71 #714A2B #2F712B
square
#2B5271 #6D2B71 #714A2B #2F712B
split-complementary
#2B5271 #712B2F #716D2B
monochromatic
#091218 #1A3245 #2B5271 #3C729D #5791BF

Accessibility & contrast

On white

8.24
#2B5271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#2B5271 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5271
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5271#FFFFFF#000000##FFFFFF
##2B52711.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455372
Deuteranopia (green-blind)
#3B4C70
Tritanopia (blue-blind)
#00595D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2b5271;
/* rgb */ color: rgb(43, 82, 113);
/* oklch */ color: oklch(42.4% 0.068 244.4);
Tailwind
colors: {
  custom: {
    50: '#6b829a',
    500: '#2b5271',
    950: '#000000',
  },
}
SCSS
$custom: #2b5271;
$custom-light: #6b829a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5271",
  "rgb": {
    "r": 43,
    "g": 82,
    "b": 113
  },
  "hsl": {
    "h": 206.571,
    "s": 44.872,
    "l": 30.588
  },
  "oklch": {
    "l": 0.42436,
    "c": 0.06825,
    "h": 244.4
  },
  "luminance": 0.0774
}

Semantic roles & 50–950 ramp

primary
#2B5271
secondary
#A37755
accent
#8D53D5
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #2B5271

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

Preview Lab → · Contrast checker → · Palette generator →

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