#2B5DB5#2B5DB5

#2B5DB5 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.4% C 0.150 H 260.8°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#2B5DB5
RGBrgb(43, 93, 181)
HSLhsl(218, 62%, 44%)
HSVhsv(218, 76%, 71%)
CMYKcmyk(76.2%, 48.6%, 0%, 29%)
CIE-LABlab(40.70, 14.86, -51.51)
CIE-LCHlch(40.70, 53.61, 286.09°)
OKLaboklab(49.36% -0.0241 -0.148)
OKLCHoklch(49.36% 0.15 260.8)
XYZxyz(13.2481, 11.6770, 45.2628)
Luminance0.1168 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5DB5 #B5832B
analogous
#2BA2B5 #2B5DB5 #3E2BB5
triadic
#2B5DB5 #B52B5D #5DB52B
tetradic
#2B5DB5 #B52BA2 #B5832B #2BB53E
square
#2B5DB5 #B52BA2 #B5832B #2BB53E
split-complementary
#2B5DB5 #B53E2B #A2B52B
monochromatic
#142A52 #1F4484 #2B5DB5 #497CD4 #7B9FE0

Accessibility & contrast

On white

6.30
#2B5DB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#2B5DB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5DB5
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5DB5#FFFFFF#000000##FFFFFF
##2B5DB51.006.303.346.30
#FFFFFF6.301.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b5db5;
/* rgb */ color: rgb(43, 93, 181);
/* oklch */ color: oklch(49.4% 0.150 260.8);
Tailwind
colors: {
  custom: {
    50: '#788acc',
    500: '#2b5db5',
    950: '#000000',
  },
}
SCSS
$custom: #2b5db5;
$custom-light: #788acc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5db5",
  "rgb": {
    "r": 43,
    "g": 93,
    "b": 181
  },
  "hsl": {
    "h": 218.261,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.49362,
    "c": 0.14991,
    "h": 260.8
  },
  "luminance": 0.11678
}

Semantic roles & 50–950 ramp

primary
#2B5DB5
secondary
#C8A974
accent
#AA43E5
background
#F7F8FC
surface
#EEF0F9
border
#C9CBD2
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2B5DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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