#2B5DAC#2B5DAC

#2B5DAC is a mid, vivid blue. Relative luminance 0.113; OKLCH L 48.7% C 0.138 H 259.3°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#2B5DAC
RGBrgb(43, 93, 172)
HSLhsl(217, 60%, 42%)
HSVhsv(217, 75%, 67%)
CMYKcmyk(75%, 45.9%, 0%, 32.5%)
CIE-LABlab(40.11, 11.41, -47.15)
CIE-LCHlch(40.11, 48.51, 283.60°)
OKLaboklab(48.73% -0.0255 -0.1351)
OKLCHoklch(48.73% 0.138 259.3)
XYZxyz(12.3543, 11.3195, 40.5555)
Luminance0.1132 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5DAC #AC7A2B
analogous
#2B9EAC #2B5DAC #392BAC
triadic
#2B5DAC #AC2B5D #5DAC2B
tetradic
#2B5DAC #AC2B9E #AC7A2B #2BAC39
square
#2B5DAC #AC2B9E #AC7A2B #2BAC39
split-complementary
#2B5DAC #AC392B #9EAC2B
monochromatic
#13284A #1F437B #2B5DAC #447AD0 #759DDC

Accessibility & contrast

On white

6.43
#2B5DAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#2B5DAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5DAC
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5DAC#FFFFFF#000000##FFFFFF
##2B5DAC1.006.433.266.43
#FFFFFF6.431.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3465AF
Deuteranopia (green-blind)
#1859AA
Tritanopia (blue-blind)
#00707C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2b5dac;
/* rgb */ color: rgb(43, 93, 172);
/* oklch */ color: oklch(48.7% 0.138 259.3);
Tailwind
colors: {
  custom: {
    50: '#768ac5',
    500: '#2b5dac',
    950: '#000000',
  },
}
SCSS
$custom: #2b5dac;
$custom-light: #768ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5dac",
  "rgb": {
    "r": 43,
    "g": 93,
    "b": 172
  },
  "hsl": {
    "h": 216.744,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.48725,
    "c": 0.13754,
    "h": 259.3
  },
  "luminance": 0.11321
}

Semantic roles & 50–950 ramp

primary
#2B5DAC
secondary
#C4A36F
accent
#A645E3
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2B5DAC

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

Preview Lab → · Contrast checker → · Palette generator →

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