#2B5382#2B5382

#2B5382 is a dark, moderate cyan. Relative luminance 0.083; OKLCH L 43.7% C 0.090 H 253.8°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#2B5382
RGBrgb(43, 83, 130)
HSLhsl(212, 50%, 34%)
HSVhsv(212, 67%, 51%)
CMYKcmyk(66.9%, 36.2%, 0%, 49%)
CIE-LABlab(34.62, 1.99, -30.59)
CIE-LCHlch(34.62, 30.66, 273.72°)
OKLaboklab(43.66% -0.0252 -0.0867)
OKLCHoklch(43.66% 0.09 253.8)
XYZxyz(8.1173, 8.3110, 22.2912)
Luminance0.0831 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5382 #825A2B
analogous
#2B7F82 #2B5382 #2F2B82
triadic
#2B5382 #822B53 #53822B
tetradic
#2B5382 #822B7F #825A2B #2B822F
square
#2B5382 #822B7F #825A2B #2B822F
split-complementary
#2B5382 #822F2B #7F822B
monochromatic
#0D1826 #1C3654 #2B5382 #3A70B0 #5E8FCA

Accessibility & contrast

On white

7.89
#2B5382 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#2B5382 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5382
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5382#FFFFFF#000000##FFFFFF
##2B53821.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5684
Deuteranopia (green-blind)
#324E81
Tritanopia (blue-blind)
#005E64
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2b5382;
/* rgb */ color: rgb(43, 83, 130);
/* oklch */ color: oklch(43.7% 0.090 253.8);
Tailwind
colors: {
  custom: {
    50: '#6e83a6',
    500: '#2b5382',
    950: '#000000',
  },
}
SCSS
$custom: #2b5382;
$custom-light: #6e83a6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5382",
  "rgb": {
    "r": 43,
    "g": 83,
    "b": 130
  },
  "hsl": {
    "h": 212.414,
    "s": 50.289,
    "l": 33.922
  },
  "oklch": {
    "l": 0.43655,
    "c": 0.09033,
    "h": 253.8
  },
  "luminance": 0.08312
}

Semantic roles & 50–950 ramp

primary
#2B5382
secondary
#B08859
accent
#9A4EDA
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2B5382

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

Preview Lab → · Contrast checker → · Palette generator →

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