#2B5F89#2B5F89

#2B5F89 is a mid, moderate cyan. Relative luminance 0.105; OKLCH L 47.0% C 0.088 H 245.6°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#2B5F89
RGBrgb(43, 95, 137)
HSLhsl(207, 52%, 35%)
HSVhsv(207, 69%, 54%)
CMYKcmyk(68.6%, 30.7%, 0%, 46.3%)
CIE-LABlab(38.73, -3.04, -28.40)
CIE-LCHlch(38.73, 28.57, 263.89°)
OKLaboklab(47% -0.0363 -0.0802)
OKLCHoklch(47% 0.088 245.6)
XYZxyz(9.6021, 10.5032, 25.1833)
Luminance0.1050 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5F89 #89552B
analogous
#2B8984 #2B5F89 #2B3089
triadic
#2B5F89 #892B5F #5F892B
tetradic
#2B5F89 #842B89 #89552B #30892B
square
#2B5F89 #842B89 #89552B #30892B
split-complementary
#2B5F89 #892B30 #89842B
monochromatic
#0E1E2C #1C3F5A #2B5F89 #3A7FB8 #619DCD

Accessibility & contrast

On white

6.77
#2B5F89 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#2B5F89 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5F89
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5F89#FFFFFF#000000##FFFFFF
##2B5F891.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C608B
Deuteranopia (green-blind)
#3F5788
Tritanopia (blue-blind)
#00696E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2b5f89;
/* rgb */ color: rgb(43, 95, 137);
/* oklch */ color: oklch(47.0% 0.088 245.6);
Tailwind
colors: {
  custom: {
    50: '#6f8cab',
    500: '#2b5f89',
    950: '#000000',
  },
}
SCSS
$custom: #2b5f89;
$custom-light: #6f8cab;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5f89",
  "rgb": {
    "r": 43,
    "g": 95,
    "b": 137
  },
  "hsl": {
    "h": 206.809,
    "s": 52.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.47001,
    "c": 0.08806,
    "h": 245.6
  },
  "luminance": 0.10504
}

Semantic roles & 50–950 ramp

primary
#2B5F89
secondary
#B3835C
accent
#8C4CDC
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C10
muted
#7B7D7F

Preview Lab

Preview with #2B5F89

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

Preview Lab → · Contrast checker → · Palette generator →

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