#2B5481#2B5481

#2B5481 is a dark, moderate cyan. Relative luminance 0.084; OKLCH L 43.8% C 0.088 H 252.4°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#2B5481
RGBrgb(43, 84, 129)
HSLhsl(211, 50%, 34%)
HSVhsv(211, 67%, 51%)
CMYKcmyk(66.7%, 34.9%, 0%, 49.4%)
CIE-LABlab(34.88, 0.97, -29.57)
CIE-LCHlch(34.88, 29.59, 271.88°)
OKLaboklab(43.84% -0.0266 -0.0837)
OKLCHoklch(43.84% 0.088 252.4)
XYZxyz(8.1276, 8.4384, 21.9651)
Luminance0.0844 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5481 #81582B
analogous
#2B7F81 #2B5481 #2D2B81
triadic
#2B5481 #812B54 #54812B
tetradic
#2B5481 #812B7F #81582B #2B812D
square
#2B5481 #812B7F #81582B #2B812D
split-complementary
#2B5481 #812D2B #7F812B
monochromatic
#0C1825 #1C3653 #2B5481 #3A72AF #5D91C9

Accessibility & contrast

On white

7.81
#2B5481 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B5481
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5481#FFFFFF#000000##FFFFFF
##2B54811.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405783
Deuteranopia (green-blind)
#354E80
Tritanopia (blue-blind)
#005E64
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2b5481;
/* rgb */ color: rgb(43, 84, 129);
/* oklch */ color: oklch(43.8% 0.088 252.4);
Tailwind
colors: {
  custom: {
    50: '#6e83a6',
    500: '#2b5481',
    950: '#000000',
  },
}
SCSS
$custom: #2b5481;
$custom-light: #6e83a6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5481",
  "rgb": {
    "r": 43,
    "g": 84,
    "b": 129
  },
  "hsl": {
    "h": 211.395,
    "s": 50,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43839,
    "c": 0.08788,
    "h": 252.4
  },
  "luminance": 0.08439
}

Semantic roles & 50–950 ramp

primary
#2B5481
secondary
#AF8659
accent
#974EDA
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2B5481

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

Preview Lab → · Contrast checker → · Palette generator →

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