#2B5DB2#2B5DB2

#2B5DB2 is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.1% C 0.146 H 260.3°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#2B5DB2
RGBrgb(43, 93, 178)
HSLhsl(218, 61%, 43%)
HSVhsv(218, 76%, 70%)
CMYKcmyk(75.8%, 47.8%, 0%, 30.2%)
CIE-LABlab(40.50, 13.71, -50.07)
CIE-LCHlch(40.50, 51.91, 285.31°)
OKLaboklab(49.15% -0.0245 -0.1437)
OKLCHoklch(49.15% 0.146 260.3)
XYZxyz(12.9436, 11.5552, 43.6591)
Luminance0.1156 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5DB2 #B2802B
analogous
#2BA0B2 #2B5DB2 #3D2BB2
triadic
#2B5DB2 #B22B5D #5DB22B
tetradic
#2B5DB2 #B22BA0 #B2802B #2BB23D
square
#2B5DB2 #B22BA0 #B2802B #2BB23D
split-complementary
#2B5DB2 #B23D2B #A0B22B
monochromatic
#13294F #1F4381 #2B5DB2 #487BD3 #799FDF

Accessibility & contrast

On white

6.34
#2B5DB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#2B5DB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5DB2
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5DB2#FFFFFF#000000##FFFFFF
##2B5DB21.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E66B5
Deuteranopia (green-blind)
#055AB0
Tritanopia (blue-blind)
#00717F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2b5db2;
/* rgb */ color: rgb(43, 93, 178);
/* oklch */ color: oklch(49.1% 0.146 260.3);
Tailwind
colors: {
  custom: {
    50: '#788aca',
    500: '#2b5db2',
    950: '#000000',
  },
}
SCSS
$custom: #2b5db2;
$custom-light: #788aca;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5db2",
  "rgb": {
    "r": 43,
    "g": 93,
    "b": 178
  },
  "hsl": {
    "h": 217.778,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.49147,
    "c": 0.1458,
    "h": 260.3
  },
  "luminance": 0.11557
}

Semantic roles & 50–950 ramp

primary
#2B5DB2
secondary
#C7A772
accent
#A944E4
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2B5DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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