#2B5F81#2B5F81

#2B5F81 is a mid, moderate cyan. Relative luminance 0.103; OKLCH L 46.6% C 0.078 H 240.1°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#2B5F81
RGBrgb(43, 95, 129)
HSLhsl(204, 50%, 34%)
HSVhsv(204, 67%, 51%)
CMYKcmyk(66.7%, 26.4%, 0%, 49.4%)
CIE-LABlab(38.34, -5.93, -24.14)
CIE-LCHlch(38.34, 24.86, 256.20°)
OKLaboklab(46.57% -0.0391 -0.0679)
OKLCHoklch(46.57% 0.078 240.1)
XYZxyz(9.0494, 10.2821, 22.2723)
Luminance0.1028 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5F81 #814D2B
analogous
#2B8178 #2B5F81 #2B3481
triadic
#2B5F81 #812B5F #5F812B
tetradic
#2B5F81 #782B81 #814D2B #34812B
square
#2B5F81 #782B81 #814D2B #34812B
split-complementary
#2B5F81 #812B34 #81782B
monochromatic
#0C1B25 #1C3D53 #2B5F81 #3A81AF #5D9EC9

Accessibility & contrast

On white

6.87
#2B5F81 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#2B5F81 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5F81
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5F81#FFFFFF#000000##FFFFFF
##2B5F811.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5F83
Deuteranopia (green-blind)
#445680
Tritanopia (blue-blind)
#00676B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2b5f81;
/* rgb */ color: rgb(43, 95, 129);
/* oklch */ color: oklch(46.6% 0.078 240.1);
Tailwind
colors: {
  custom: {
    50: '#6e8ca5',
    500: '#2b5f81',
    950: '#000000',
  },
}
SCSS
$custom: #2b5f81;
$custom-light: #6e8ca5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5f81",
  "rgb": {
    "r": 43,
    "g": 95,
    "b": 129
  },
  "hsl": {
    "h": 203.721,
    "s": 50,
    "l": 33.725
  },
  "oklch": {
    "l": 0.46568,
    "c": 0.07832,
    "h": 240.1
  },
  "luminance": 0.10283
}

Semantic roles & 50–950 ramp

primary
#2B5F81
secondary
#AF7B59
accent
#854EDA
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#080C0F
muted
#7B7D7F

Preview Lab

Preview with #2B5F81

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

Preview Lab → · Contrast checker → · Palette generator →

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