#2B6781#2B6781

#2B6781 is a mid, moderate cyan. Relative luminance 0.118; OKLCH L 48.6% C 0.074 H 229.6°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#2B6781
RGBrgb(43, 103, 129)
HSLhsl(198, 50%, 34%)
HSVhsv(198, 67%, 51%)
CMYKcmyk(66.7%, 20.2%, 0%, 49.4%)
CIE-LABlab(40.89, -10.71, -20.19)
CIE-LCHlch(40.89, 22.86, 242.06°)
OKLaboklab(48.6% -0.0481 -0.0565)
OKLCHoklch(48.6% 0.074 229.6)
XYZxyz(9.8074, 11.7980, 22.5250)
Luminance0.1180 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6781 #81452B
analogous
#2B8170 #2B6781 #2B3C81
triadic
#2B6781 #812B67 #67812B
tetradic
#2B6781 #702B81 #81452B #3C812B
square
#2B6781 #702B81 #81452B #3C812B
split-complementary
#2B6781 #812B3C #81702B
monochromatic
#0C1E25 #1C4253 #2B6781 #3A8CAF #5DA9C9

Accessibility & contrast

On white

6.25
#2B6781 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#2B6781 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B6781
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B6781#FFFFFF#000000##FFFFFF
##2B67811.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6582
Deuteranopia (green-blind)
#4E5D81
Tritanopia (blue-blind)
#006E70
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2b6781;
/* rgb */ color: rgb(43, 103, 129);
/* oklch */ color: oklch(48.6% 0.074 229.6);
Tailwind
colors: {
  custom: {
    50: '#6e92a5',
    500: '#2b6781',
    950: '#000000',
  },
}
SCSS
$custom: #2b6781;
$custom-light: #6e92a5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6781",
  "rgb": {
    "r": 43,
    "g": 103,
    "b": 129
  },
  "hsl": {
    "h": 198.14,
    "s": 50,
    "l": 33.725
  },
  "oklch": {
    "l": 0.48595,
    "c": 0.07422,
    "h": 229.6
  },
  "luminance": 0.11799
}

Semantic roles & 50–950 ramp

primary
#2B6781
secondary
#AF7359
accent
#784EDA
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080D0F
muted
#7B7D7F

Preview Lab

Preview with #2B6781

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

Preview Lab → · Contrast checker → · Palette generator →

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