#2B5F87#2B5F87

#2B5F87 is a mid, moderate cyan. Relative luminance 0.104; OKLCH L 46.9% C 0.086 H 244.4°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#2B5F87
RGBrgb(43, 95, 135)
HSLhsl(206, 52%, 35%)
HSVhsv(206, 68%, 53%)
CMYKcmyk(68.1%, 29.6%, 0%, 47.1%)
CIE-LABlab(38.63, -3.77, -27.35)
CIE-LCHlch(38.63, 27.60, 262.16°)
OKLaboklab(46.89% -0.037 -0.0771)
OKLCHoklch(46.89% 0.086 244.4)
XYZxyz(9.4600, 10.4463, 24.4348)
Luminance0.1045 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5F87 #87532B
analogous
#2B8781 #2B5F87 #2B3187
triadic
#2B5F87 #872B5F #5F872B
tetradic
#2B5F87 #812B87 #87532B #31872B
square
#2B5F87 #812B87 #87532B #31872B
split-complementary
#2B5F87 #872B31 #87812B
monochromatic
#0D1E2A #1C3E59 #2B5F87 #3A80B5 #609DCC

Accessibility & contrast

On white

6.80
#2B5F87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#2B5F87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5F87
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5F87#FFFFFF#000000##FFFFFF
##2B5F871.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D6089
Deuteranopia (green-blind)
#415786
Tritanopia (blue-blind)
#00696D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2b5f87;
/* rgb */ color: rgb(43, 95, 135);
/* oklch */ color: oklch(46.9% 0.086 244.4);
Tailwind
colors: {
  custom: {
    50: '#6f8caa',
    500: '#2b5f87',
    950: '#000000',
  },
}
SCSS
$custom: #2b5f87;
$custom-light: #6f8caa;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5f87",
  "rgb": {
    "r": 43,
    "g": 95,
    "b": 135
  },
  "hsl": {
    "h": 206.087,
    "s": 51.685,
    "l": 34.902
  },
  "oklch": {
    "l": 0.46891,
    "c": 0.08555,
    "h": 244.4
  },
  "luminance": 0.10447
}

Semantic roles & 50–950 ramp

primary
#2B5F87
secondary
#B2815B
accent
#8B4DDB
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C10
muted
#7B7D7F

Preview Lab

Preview with #2B5F87

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

Preview Lab → · Contrast checker → · Palette generator →

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