#2B5CAC#2B5CAC

#2B5CAC is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.5% C 0.139 H 259.8°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#2B5CAC
RGBrgb(43, 92, 172)
HSLhsl(217, 60%, 42%)
HSVhsv(217, 75%, 67%)
CMYKcmyk(75%, 46.5%, 0%, 32.5%)
CIE-LABlab(39.82, 12.06, -47.62)
CIE-LCHlch(39.82, 49.12, 284.21°)
OKLaboklab(48.5% -0.0247 -0.1365)
OKLCHoklch(48.5% 0.139 259.8)
XYZxyz(12.2671, 11.1451, 40.5264)
Luminance0.1115 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5CAC #AC7B2B
analogous
#2B9DAC #2B5CAC #3A2BAC
triadic
#2B5CAC #AC2B5C #5CAC2B
tetradic
#2B5CAC #AC2B9D #AC7B2B #2BAC3A
square
#2B5CAC #AC2B9D #AC7B2B #2BAC3A
split-complementary
#2B5CAC #AC3A2B #9DAC2B
monochromatic
#13284A #1F427B #2B5CAC #4479D0 #759CDC

Accessibility & contrast

On white

6.50
#2B5CAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#2B5CAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5CAC
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5CAC#FFFFFF#000000##FFFFFF
##2B5CAC1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3264AF
Deuteranopia (green-blind)
#1458AA
Tritanopia (blue-blind)
#006F7B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2b5cac;
/* rgb */ color: rgb(43, 92, 172);
/* oklch */ color: oklch(48.5% 0.139 259.8);
Tailwind
colors: {
  custom: {
    50: '#7689c5',
    500: '#2b5cac',
    950: '#000000',
  },
}
SCSS
$custom: #2b5cac;
$custom-light: #7689c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5cac",
  "rgb": {
    "r": 43,
    "g": 92,
    "b": 172
  },
  "hsl": {
    "h": 217.209,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.48502,
    "c": 0.13875,
    "h": 259.8
  },
  "luminance": 0.11146
}

Semantic roles & 50–950 ramp

primary
#2B5CAC
secondary
#C4A46F
accent
#A745E3
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2B5CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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