#2B5DBF#2B5DBF

#2B5DBF is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.1% C 0.164 H 262.0°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#2B5DBF
RGBrgb(43, 93, 191)
HSLhsl(220, 63%, 46%)
HSVhsv(220, 77%, 75%)
CMYKcmyk(77.5%, 51.3%, 0%, 25.1%)
CIE-LABlab(41.38, 18.68, -56.25)
CIE-LCHlch(41.38, 59.27, 288.37°)
OKLaboklab(50.1% -0.0227 -0.1619)
OKLCHoklch(50.1% 0.164 262)
XYZxyz(14.3112, 12.1022, 50.8618)
Luminance0.1210 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5DBF #BF8D2B
analogous
#2BA7BF #2B5DBF #432BBF
triadic
#2B5DBF #BF2B5D #5DBF2B
tetradic
#2B5DBF #BF2BA7 #BF8D2B #2BBF43
square
#2B5DBF #BF2BA7 #BF8D2B #2BBF43
split-complementary
#2B5DBF #BF432B #A7BF2B
monochromatic
#152C5B #20458D #2B5DBF #507ED8 #82A2E3

Accessibility & contrast

On white

6.14
#2B5DBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#2B5DBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5DBF
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5DBF#FFFFFF#000000##FFFFFF
##2B5DBF1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D69C3
Deuteranopia (green-blind)
#005BBD
Tritanopia (blue-blind)
#007585
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2b5dbf;
/* rgb */ color: rgb(43, 93, 191);
/* oklch */ color: oklch(50.1% 0.164 262.0);
Tailwind
colors: {
  custom: {
    50: '#7a8ad3',
    500: '#2b5dbf',
    950: '#000000',
  },
}
SCSS
$custom: #2b5dbf;
$custom-light: #7a8ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5dbf",
  "rgb": {
    "r": 43,
    "g": 93,
    "b": 191
  },
  "hsl": {
    "h": 219.73,
    "s": 63.248,
    "l": 45.882
  },
  "oklch": {
    "l": 0.50099,
    "c": 0.16352,
    "h": 262
  },
  "luminance": 0.12104
}

Semantic roles & 50–950 ramp

primary
#2B5DBF
secondary
#CCB07A
accent
#AF42E6
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2B5DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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