#2B5DB4#2B5DB4

#2B5DB4 is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.3% C 0.149 H 260.6°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#2B5DB4
RGBrgb(43, 93, 180)
HSLhsl(218, 61%, 44%)
HSVhsv(218, 76%, 71%)
CMYKcmyk(76.1%, 48.3%, 0%, 29.4%)
CIE-LABlab(40.63, 14.47, -51.03)
CIE-LCHlch(40.63, 53.04, 285.83°)
OKLaboklab(49.29% -0.0242 -0.1466)
OKLCHoklch(49.29% 0.149 260.6)
XYZxyz(13.1459, 11.6361, 44.7243)
Luminance0.1164 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5DB4 #B4822B
analogous
#2BA1B4 #2B5DB4 #3D2BB4
triadic
#2B5DB4 #B42B5D #5DB42B
tetradic
#2B5DB4 #B42BA1 #B4822B #2BB43D
square
#2B5DB4 #B42BA1 #B4822B #2BB43D
split-complementary
#2B5DB4 #B43D2B #A1B42B
monochromatic
#132A51 #1F4383 #2B5DB4 #497BD3 #7A9FDF

Accessibility & contrast

On white

6.31
#2B5DB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#2B5DB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5DB4
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5DB4#FFFFFF#000000##FFFFFF
##2B5DB41.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C66B7
Deuteranopia (green-blind)
#005AB2
Tritanopia (blue-blind)
#007280
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2b5db4;
/* rgb */ color: rgb(43, 93, 180);
/* oklch */ color: oklch(49.3% 0.149 260.6);
Tailwind
colors: {
  custom: {
    50: '#788acb',
    500: '#2b5db4',
    950: '#000000',
  },
}
SCSS
$custom: #2b5db4;
$custom-light: #788acb;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5db4",
  "rgb": {
    "r": 43,
    "g": 93,
    "b": 180
  },
  "hsl": {
    "h": 218.102,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.4929,
    "c": 0.14855,
    "h": 260.6
  },
  "luminance": 0.11638
}

Semantic roles & 50–950 ramp

primary
#2B5DB4
secondary
#C7A973
accent
#AA43E5
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2B5DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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