#2B5482#2B5482

#2B5482 is a dark, moderate cyan. Relative luminance 0.085; OKLCH L 43.9% C 0.089 H 252.8°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#2B5482
RGBrgb(43, 84, 130)
HSLhsl(212, 50%, 34%)
HSVhsv(212, 67%, 51%)
CMYKcmyk(66.9%, 35.4%, 0%, 49%)
CIE-LABlab(34.93, 1.34, -30.10)
CIE-LCHlch(34.93, 30.13, 272.55°)
OKLaboklab(43.9% -0.0263 -0.0853)
OKLCHoklch(43.9% 0.089 252.8)
XYZxyz(8.1944, 8.4651, 22.3169)
Luminance0.0847 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5482 #82592B
analogous
#2B8082 #2B5482 #2E2B82
triadic
#2B5482 #822B54 #54822B
tetradic
#2B5482 #822B80 #82592B #2B822E
square
#2B5482 #822B80 #82592B #2B822E
split-complementary
#2B5482 #822E2B #80822B
monochromatic
#0D1926 #1C3654 #2B5482 #3A72B0 #5E91CA

Accessibility & contrast

On white

7.80
#2B5482 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#2B5482 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5482
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5482#FFFFFF#000000##FFFFFF
##2B54821.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405784
Deuteranopia (green-blind)
#344E81
Tritanopia (blue-blind)
#005F65
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2b5482;
/* rgb */ color: rgb(43, 84, 130);
/* oklch */ color: oklch(43.9% 0.089 252.8);
Tailwind
colors: {
  custom: {
    50: '#6e83a6',
    500: '#2b5482',
    950: '#000000',
  },
}
SCSS
$custom: #2b5482;
$custom-light: #6e83a6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5482",
  "rgb": {
    "r": 43,
    "g": 84,
    "b": 130
  },
  "hsl": {
    "h": 211.724,
    "s": 50.289,
    "l": 33.922
  },
  "oklch": {
    "l": 0.43898,
    "c": 0.08926,
    "h": 252.8
  },
  "luminance": 0.08466
}

Semantic roles & 50–950 ramp

primary
#2B5482
secondary
#B08759
accent
#984EDA
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2B5482

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

Preview Lab → · Contrast checker → · Palette generator →

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