#2B5981#2B5981

#2B5981 is a mid, moderate cyan. Relative luminance 0.092; OKLCH L 45.1% C 0.083 H 247.1°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#2B5981
RGBrgb(43, 89, 129)
HSLhsl(208, 50%, 34%)
HSVhsv(208, 67%, 51%)
CMYKcmyk(66.7%, 31%, 0%, 49.4%)
CIE-LABlab(36.45, -2.21, -27.11)
CIE-LCHlch(36.45, 27.20, 265.34°)
OKLaboklab(45.07% -0.0323 -0.0765)
OKLCHoklch(45.07% 0.083 247.1)
XYZxyz(8.5296, 9.2425, 22.0991)
Luminance0.0924 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5981 #81532B
analogous
#2B817E #2B5981 #2B2E81
triadic
#2B5981 #812B59 #59812B
tetradic
#2B5981 #7E2B81 #81532B #2E812B
square
#2B5981 #7E2B81 #81532B #2E812B
split-complementary
#2B5981 #812B2E #817E2B
monochromatic
#0C1A25 #1C3953 #2B5981 #3A79AF #5D97C9

Accessibility & contrast

On white

7.37
#2B5981 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#2B5981 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5981
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5981#FFFFFF#000000##FFFFFF
##2B59811.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475A83
Deuteranopia (green-blind)
#3C5280
Tritanopia (blue-blind)
#006367
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2b5981;
/* rgb */ color: rgb(43, 89, 129);
/* oklch */ color: oklch(45.1% 0.083 247.1);
Tailwind
colors: {
  custom: {
    50: '#6e87a6',
    500: '#2b5981',
    950: '#000000',
  },
}
SCSS
$custom: #2b5981;
$custom-light: #6e87a6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5981",
  "rgb": {
    "r": 43,
    "g": 89,
    "b": 129
  },
  "hsl": {
    "h": 207.907,
    "s": 50,
    "l": 33.725
  },
  "oklch": {
    "l": 0.4507,
    "c": 0.08304,
    "h": 247.1
  },
  "luminance": 0.09243
}

Semantic roles & 50–950 ramp

primary
#2B5981
secondary
#AF8159
accent
#8F4EDA
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#080B0F
muted
#7B7C7F

Preview Lab

Preview with #2B5981

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

Preview Lab → · Contrast checker → · Palette generator →

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