#2B5CBF#2B5CBF

#2B5CBF is a mid, vivid blue. Relative luminance 0.119; OKLCH L 49.9% C 0.165 H 262.3°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#2B5CBF
RGBrgb(43, 92, 191)
HSLhsl(220, 63%, 46%)
HSVhsv(220, 77%, 75%)
CMYKcmyk(77.5%, 51.8%, 0%, 25.1%)
CIE-LABlab(41.10, 19.33, -56.70)
CIE-LCHlch(41.10, 59.91, 288.83°)
OKLaboklab(49.89% -0.022 -0.1633)
OKLCHoklch(49.89% 0.165 262.3)
XYZxyz(14.2240, 11.9278, 50.8328)
Luminance0.1193 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5CBF #BF8E2B
analogous
#2BA6BF #2B5CBF #442BBF
triadic
#2B5CBF #BF2B5C #5CBF2B
tetradic
#2B5CBF #BF2BA6 #BF8E2B #2BBF44
square
#2B5CBF #BF2BA6 #BF8E2B #2BBF44
split-complementary
#2B5CBF #BF442B #A6BF2B
monochromatic
#152C5B #20448D #2B5CBF #507DD8 #82A2E3

Accessibility & contrast

On white

6.20
#2B5CBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#2B5CBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5CBF
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5CBF#FFFFFF#000000##FFFFFF
##2B5CBF1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1968C3
Deuteranopia (green-blind)
#005BBD
Tritanopia (blue-blind)
#007484
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2b5cbf;
/* rgb */ color: rgb(43, 92, 191);
/* oklch */ color: oklch(49.9% 0.165 262.3);
Tailwind
colors: {
  custom: {
    50: '#7a89d3',
    500: '#2b5cbf',
    950: '#000000',
  },
}
SCSS
$custom: #2b5cbf;
$custom-light: #7a89d3;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5cbf",
  "rgb": {
    "r": 43,
    "g": 92,
    "b": 191
  },
  "hsl": {
    "h": 220.135,
    "s": 63.248,
    "l": 45.882
  },
  "oklch": {
    "l": 0.49888,
    "c": 0.16474,
    "h": 262.3
  },
  "luminance": 0.11929
}

Semantic roles & 50–950 ramp

primary
#2B5CBF
secondary
#CCB17A
accent
#B042E6
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2B5CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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