#2B5181#2B5181

#2B5181 is a dark, moderate cyan. Relative luminance 0.080; OKLCH L 43.1% C 0.091 H 255.2°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#2B5181
RGBrgb(43, 81, 129)
HSLhsl(213, 50%, 34%)
HSVhsv(213, 67%, 51%)
CMYKcmyk(66.7%, 37.2%, 0%, 49.4%)
CIE-LABlab(33.95, 2.91, -31.05)
CIE-LCHlch(33.95, 31.18, 275.36°)
OKLaboklab(43.11% -0.0233 -0.0881)
OKLCHoklch(43.11% 0.091 255.2)
XYZxyz(7.8997, 7.9827, 21.8891)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5181 #815B2B
analogous
#2B7C81 #2B5181 #302B81
triadic
#2B5181 #812B51 #51812B
tetradic
#2B5181 #812B7C #815B2B #2B8130
square
#2B5181 #812B7C #815B2B #2B8130
split-complementary
#2B5181 #81302B #7C812B
monochromatic
#0C1725 #1C3453 #2B5181 #3A6EAF #5D8DC9

Accessibility & contrast

On white

8.09
#2B5181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#2B5181 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5181
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5181#FFFFFF#000000##FFFFFF
##2B51811.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5483
Deuteranopia (green-blind)
#304C80
Tritanopia (blue-blind)
#005C63
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2b5181;
/* rgb */ color: rgb(43, 81, 129);
/* oklch */ color: oklch(43.1% 0.091 255.2);
Tailwind
colors: {
  custom: {
    50: '#6e81a6',
    500: '#2b5181',
    950: '#000000',
  },
}
SCSS
$custom: #2b5181;
$custom-light: #6e81a6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5181",
  "rgb": {
    "r": 43,
    "g": 81,
    "b": 129
  },
  "hsl": {
    "h": 213.488,
    "s": 50,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43109,
    "c": 0.09111,
    "h": 255.2
  },
  "luminance": 0.07983
}

Semantic roles & 50–950 ramp

primary
#2B5181
secondary
#AF8959
accent
#9C4EDA
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2B5181

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

Preview Lab → · Contrast checker → · Palette generator →

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