#2B5DB1#2B5DB1

#2B5DB1 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.1% C 0.144 H 260.2°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#2B5DB1
RGBrgb(43, 93, 177)
HSLhsl(218, 61%, 43%)
HSVhsv(218, 76%, 69%)
CMYKcmyk(75.7%, 47.5%, 0%, 30.6%)
CIE-LABlab(40.44, 13.32, -49.58)
CIE-LCHlch(40.44, 51.34, 285.04°)
OKLaboklab(49.08% -0.0247 -0.1423)
OKLCHoklch(49.08% 0.144 260.2)
XYZxyz(12.8436, 11.5152, 43.1322)
Luminance0.1152 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5DB1 #B17F2B
analogous
#2BA0B1 #2B5DB1 #3C2BB1
triadic
#2B5DB1 #B12B5D #5DB12B
tetradic
#2B5DB1 #B12BA0 #B17F2B #2BB13C
square
#2B5DB1 #B12BA0 #B17F2B #2BB13C
split-complementary
#2B5DB1 #B13C2B #A0B12B
monochromatic
#13294F #1F4380 #2B5DB1 #477BD2 #789EDE

Accessibility & contrast

On white

6.36
#2B5DB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2B5DB1
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5DB1#FFFFFF#000000##FFFFFF
##2B5DB11.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F66B4
Deuteranopia (green-blind)
#095AAF
Tritanopia (blue-blind)
#00717E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2b5db1;
/* rgb */ color: rgb(43, 93, 177);
/* oklch */ color: oklch(49.1% 0.144 260.2);
Tailwind
colors: {
  custom: {
    50: '#778ac9',
    500: '#2b5db1',
    950: '#000000',
  },
}
SCSS
$custom: #2b5db1;
$custom-light: #778ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5db1",
  "rgb": {
    "r": 43,
    "g": 93,
    "b": 177
  },
  "hsl": {
    "h": 217.612,
    "s": 60.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.49076,
    "c": 0.14443,
    "h": 260.2
  },
  "luminance": 0.11517
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B5DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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