#2B5789#2B5789

#2B5789 is a mid, moderate cyan. Relative luminance 0.091; OKLCH L 45.0% C 0.096 H 253.2°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#2B5789
RGBrgb(43, 87, 137)
HSLhsl(212, 52%, 35%)
HSVhsv(212, 69%, 54%)
CMYKcmyk(68.6%, 36.5%, 0%, 46.3%)
CIE-LABlab(36.24, 2.02, -32.32)
CIE-LCHlch(36.24, 32.38, 273.57°)
OKLaboklab(45.05% -0.0276 -0.0917)
OKLCHoklch(45.05% 0.096 253.2)
XYZxyz(8.9182, 9.1352, 24.9553)
Luminance0.0914 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5789 #895D2B
analogous
#2B8689 #2B5789 #2E2B89
triadic
#2B5789 #892B57 #57892B
tetradic
#2B5789 #892B86 #895D2B #2B892E
square
#2B5789 #892B86 #895D2B #2B892E
split-complementary
#2B5789 #892E2B #86892B
monochromatic
#0E1C2C #1C395A #2B5789 #3A75B8 #6194CD

Accessibility & contrast

On white

7.43
#2B5789 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#2B5789 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5789
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5789#FFFFFF#000000##FFFFFF
##2B57891.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415A8B
Deuteranopia (green-blind)
#345188
Tritanopia (blue-blind)
#006369
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2b5789;
/* rgb */ color: rgb(43, 87, 137);
/* oklch */ color: oklch(45.0% 0.096 253.2);
Tailwind
colors: {
  custom: {
    50: '#6f86ab',
    500: '#2b5789',
    950: '#000000',
  },
}
SCSS
$custom: #2b5789;
$custom-light: #6f86ab;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5789",
  "rgb": {
    "r": 43,
    "g": 87,
    "b": 137
  },
  "hsl": {
    "h": 211.915,
    "s": 52.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45048,
    "c": 0.0958,
    "h": 253.2
  },
  "luminance": 0.09136
}

Semantic roles & 50–950 ramp

primary
#2B5789
secondary
#B38B5C
accent
#984CDC
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2B5789

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

Preview Lab → · Contrast checker → · Palette generator →

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