#2B5E87#2B5E87

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

Color values

HEX#2B5E87
RGBrgb(43, 94, 135)
HSLhsl(207, 52%, 35%)
HSVhsv(207, 68%, 53%)
CMYKcmyk(68.1%, 30.4%, 0%, 47.1%)
CIE-LABlab(38.32, -3.15, -27.84)
CIE-LCHlch(38.32, 28.01, 263.55°)
OKLaboklab(46.64% -0.0359 -0.0786)
OKLCHoklch(46.64% 0.086 245.5)
XYZxyz(9.3705, 10.2673, 24.4049)
Luminance0.1027 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5E87 #87542B
analogous
#2B8782 #2B5E87 #2B3087
triadic
#2B5E87 #872B5E #5E872B
tetradic
#2B5E87 #822B87 #87542B #30872B
square
#2B5E87 #822B87 #87542B #30872B
split-complementary
#2B5E87 #872B30 #87822B
monochromatic
#0D1D2A #1C3E59 #2B5E87 #3A7EB5 #609CCC

Accessibility & contrast

On white

6.88
#2B5E87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#2B5E87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5E87
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5E87#FFFFFF#000000##FFFFFF
##2B5E871.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5F89
Deuteranopia (green-blind)
#3F5686
Tritanopia (blue-blind)
#00686C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2b5e87;
/* rgb */ color: rgb(43, 94, 135);
/* oklch */ color: oklch(46.6% 0.086 245.5);
Tailwind
colors: {
  custom: {
    50: '#6f8baa',
    500: '#2b5e87',
    950: '#000000',
  },
}
SCSS
$custom: #2b5e87;
$custom-light: #6f8baa;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5e87",
  "rgb": {
    "r": 43,
    "g": 94,
    "b": 135
  },
  "hsl": {
    "h": 206.739,
    "s": 51.685,
    "l": 34.902
  },
  "oklch": {
    "l": 0.46643,
    "c": 0.08638,
    "h": 245.5
  },
  "luminance": 0.10268
}

Semantic roles & 50–950 ramp

primary
#2B5E87
secondary
#B2825B
accent
#8C4DDB
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C10
muted
#7B7D7F

Preview Lab

Preview with #2B5E87

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

Preview Lab → · Contrast checker → · Palette generator →

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