#2B5487#2B5487

#2B5487 is a dark, moderate cyan. Relative luminance 0.086; OKLCH L 44.2% C 0.096 H 255.0°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#2B5487
RGBrgb(43, 84, 135)
HSLhsl(213, 52%, 35%)
HSVhsv(213, 68%, 53%)
CMYKcmyk(68.1%, 37.8%, 0%, 47.1%)
CIE-LABlab(35.21, 3.21, -32.74)
CIE-LCHlch(35.21, 32.89, 275.59°)
OKLaboklab(44.2% -0.0249 -0.093)
OKLCHoklch(44.2% 0.096 255)
XYZxyz(8.5382, 8.6027, 24.1275)
Luminance0.0860 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5487 #875E2B
analogous
#2B8287 #2B5487 #302B87
triadic
#2B5487 #872B54 #54872B
tetradic
#2B5487 #872B82 #875E2B #2B8730
square
#2B5487 #872B82 #875E2B #2B8730
split-complementary
#2B5487 #87302B #82872B
monochromatic
#0D1A2A #1C3759 #2B5487 #3A71B5 #6090CC

Accessibility & contrast

On white

7.72
#2B5487 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#2B5487 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5487
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5487#FFFFFF#000000##FFFFFF
##2B54871.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5889
Deuteranopia (green-blind)
#304F86
Tritanopia (blue-blind)
#006067
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2b5487;
/* rgb */ color: rgb(43, 84, 135);
/* oklch */ color: oklch(44.2% 0.096 255.0);
Tailwind
colors: {
  custom: {
    50: '#6f83aa',
    500: '#2b5487',
    950: '#000000',
  },
}
SCSS
$custom: #2b5487;
$custom-light: #6f83aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5487",
  "rgb": {
    "r": 43,
    "g": 84,
    "b": 135
  },
  "hsl": {
    "h": 213.261,
    "s": 51.685,
    "l": 34.902
  },
  "oklch": {
    "l": 0.44202,
    "c": 0.09628,
    "h": 255
  },
  "luminance": 0.08604
}

Semantic roles & 50–950 ramp

primary
#2B5487
secondary
#B28C5B
accent
#9C4DDB
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2B5487

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

Preview Lab → · Contrast checker → · Palette generator →

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