#2B5186#2B5186

#2B5186 is a dark, moderate cyan. Relative luminance 0.081; OKLCH L 43.4% C 0.098 H 257.1°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#2B5186
RGBrgb(43, 81, 134)
HSLhsl(215, 51%, 35%)
HSVhsv(215, 68%, 53%)
CMYKcmyk(67.9%, 39.6%, 0%, 47.5%)
CIE-LABlab(34.23, 4.79, -33.68)
CIE-LCHlch(34.23, 34.01, 278.09°)
OKLaboklab(43.42% -0.022 -0.0958)
OKLCHoklch(43.42% 0.098 257.1)
XYZxyz(8.2402, 8.1189, 23.6825)
Luminance0.0812 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5186 #86602B
analogous
#2B7F86 #2B5186 #332B86
triadic
#2B5186 #862B51 #51862B
tetradic
#2B5186 #862B7F #86602B #2B8633
square
#2B5186 #862B7F #86602B #2B8633
split-complementary
#2B5186 #86332B #7F862B
monochromatic
#0D1929 #1C3558 #2B5186 #3A6DB4 #608DCC

Accessibility & contrast

On white

8.00
#2B5186 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#2B5186 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5186
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5186#FFFFFF#000000##FFFFFF
##2B51861.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395588
Deuteranopia (green-blind)
#2C4D85
Tritanopia (blue-blind)
#005D65
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2b5186;
/* rgb */ color: rgb(43, 81, 134);
/* oklch */ color: oklch(43.4% 0.098 257.1);
Tailwind
colors: {
  custom: {
    50: '#6f81a9',
    500: '#2b5186',
    950: '#000000',
  },
}
SCSS
$custom: #2b5186;
$custom-light: #6f81a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5186",
  "rgb": {
    "r": 43,
    "g": 81,
    "b": 134
  },
  "hsl": {
    "h": 214.945,
    "s": 51.412,
    "l": 34.706
  },
  "oklch": {
    "l": 0.43422,
    "c": 0.09827,
    "h": 257.1
  },
  "luminance": 0.0812
}

Semantic roles & 50–950 ramp

primary
#2B5186
secondary
#B28E5B
accent
#A04DDB
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2B5186

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

Preview Lab → · Contrast checker → · Palette generator →

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