#2B5DB3#2B5DB3

#2B5DB3 is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.2% C 0.147 H 260.5°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#2B5DB3
RGBrgb(43, 93, 179)
HSLhsl(218, 61%, 44%)
HSVhsv(218, 76%, 70%)
CMYKcmyk(76%, 48%, 0%, 29.8%)
CIE-LABlab(40.57, 14.09, -50.55)
CIE-LCHlch(40.57, 52.48, 285.58°)
OKLaboklab(49.22% -0.0244 -0.1451)
OKLCHoklch(49.22% 0.147 260.5)
XYZxyz(13.0444, 11.5955, 44.1898)
Luminance0.1160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5DB3 #B3812B
analogous
#2BA1B3 #2B5DB3 #3D2BB3
triadic
#2B5DB3 #B32B5D #5DB32B
tetradic
#2B5DB3 #B32BA1 #B3812B #2BB33D
square
#2B5DB3 #B32BA1 #B3812B #2BB33D
split-complementary
#2B5DB3 #B33D2B #A1B32B
monochromatic
#132A50 #1F4382 #2B5DB3 #487BD3 #799FDF

Accessibility & contrast

On white

6.33
#2B5DB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#2B5DB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5DB3
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5DB3#FFFFFF#000000##FFFFFF
##2B5DB31.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D66B6
Deuteranopia (green-blind)
#015AB1
Tritanopia (blue-blind)
#00717F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2b5db3;
/* rgb */ color: rgb(43, 93, 179);
/* oklch */ color: oklch(49.2% 0.147 260.5);
Tailwind
colors: {
  custom: {
    50: '#788aca',
    500: '#2b5db3',
    950: '#000000',
  },
}
SCSS
$custom: #2b5db3;
$custom-light: #788aca;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5db3",
  "rgb": {
    "r": 43,
    "g": 93,
    "b": 179
  },
  "hsl": {
    "h": 217.941,
    "s": 61.261,
    "l": 43.529
  },
  "oklch": {
    "l": 0.49218,
    "c": 0.14717,
    "h": 260.5
  },
  "luminance": 0.11597
}

Semantic roles & 50–950 ramp

primary
#2B5DB3
secondary
#C7A873
accent
#A943E4
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2B5DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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