#2B5D9A#2B5D9A

#2B5D9A is a mid, moderate cyan. Relative luminance 0.107; OKLCH L 47.5% C 0.113 H 254.9°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#2B5D9A
RGBrgb(43, 93, 154)
HSLhsl(213, 56%, 39%)
HSVhsv(213, 72%, 60%)
CMYKcmyk(72.1%, 39.6%, 0%, 39.6%)
CIE-LABlab(39.03, 4.55, -38.18)
CIE-LCHlch(39.03, 38.45, 276.80°)
OKLaboklab(47.53% -0.0294 -0.1088)
OKLCHoklch(47.53% 0.113 254.9)
XYZxyz(10.7412, 10.6742, 32.0598)
Luminance0.1067 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5D9A #9A682B
analogous
#2B949A #2B5D9A #302B9A
triadic
#2B5D9A #9A2B5D #5D9A2B
tetradic
#2B5D9A #9A2B94 #9A682B #2B9A30
square
#2B5D9A #9A2B94 #9A682B #2B9A30
split-complementary
#2B5D9A #9A302B #949A2B
monochromatic
#10233A #1E406A #2B5D9A #3A7AC8 #6A9AD5

Accessibility & contrast

On white

6.70
#2B5D9A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#2B5D9A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5D9A
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5D9A#FFFFFF#000000##FFFFFF
##2B5D9A1.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41629C
Deuteranopia (green-blind)
#305799
Tritanopia (blue-blind)
#006B74
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2b5d9a;
/* rgb */ color: rgb(43, 93, 154);
/* oklch */ color: oklch(47.5% 0.113 254.9);
Tailwind
colors: {
  custom: {
    50: '#728ab8',
    500: '#2b5d9a',
    950: '#000000',
  },
}
SCSS
$custom: #2b5d9a;
$custom-light: #728ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5d9a",
  "rgb": {
    "r": 43,
    "g": 93,
    "b": 154
  },
  "hsl": {
    "h": 212.973,
    "s": 56.345,
    "l": 38.627
  },
  "oklch": {
    "l": 0.47531,
    "c": 0.1127,
    "h": 254.9
  },
  "luminance": 0.10675
}

Semantic roles & 50–950 ramp

primary
#2B5D9A
secondary
#BC9565
accent
#9B48E0
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2B5D9A

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

Preview Lab → · Contrast checker → · Palette generator →

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