#2B5DB0#2B5DB0

#2B5DB0 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.0% C 0.143 H 260.0°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#2B5DB0
RGBrgb(43, 93, 176)
HSLhsl(217, 61%, 43%)
HSVhsv(217, 76%, 69%)
CMYKcmyk(75.6%, 47.2%, 0%, 31%)
CIE-LABlab(40.37, 12.94, -49.10)
CIE-LCHlch(40.37, 50.78, 284.77°)
OKLaboklab(49.01% -0.0249 -0.1409)
OKLCHoklch(49.01% 0.143 260)
XYZxyz(12.7442, 11.4754, 42.6092)
Luminance0.1148 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5DB0 #B07E2B
analogous
#2B9FB0 #2B5DB0 #3C2BB0
triadic
#2B5DB0 #B02B5D #5DB02B
tetradic
#2B5DB0 #B02B9F #B07E2B #2BB03C
square
#2B5DB0 #B02B9F #B07E2B #2BB03C
split-complementary
#2B5DB0 #B03C2B #9FB02B
monochromatic
#13294E #1F437F #2B5DB0 #467BD2 #789EDE

Accessibility & contrast

On white

6.37
#2B5DB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#2B5DB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5DB0
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5DB0#FFFFFF#000000##FFFFFF
##2B5DB01.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3066B3
Deuteranopia (green-blind)
#0D59AE
Tritanopia (blue-blind)
#00717E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2b5db0;
/* rgb */ color: rgb(43, 93, 176);
/* oklch */ color: oklch(49.0% 0.143 260.0);
Tailwind
colors: {
  custom: {
    50: '#778ac8',
    500: '#2b5db0',
    950: '#000000',
  },
}
SCSS
$custom: #2b5db0;
$custom-light: #778ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5db0",
  "rgb": {
    "r": 43,
    "g": 93,
    "b": 176
  },
  "hsl": {
    "h": 217.444,
    "s": 60.731,
    "l": 42.941
  },
  "oklch": {
    "l": 0.49005,
    "c": 0.14306,
    "h": 260
  },
  "luminance": 0.11477
}

Semantic roles & 50–950 ramp

primary
#2B5DB0
secondary
#C6A671
accent
#A844E4
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2B5DB0

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

Preview Lab → · Contrast checker → · Palette generator →

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