#2B5BC0#2B5BC0

#2B5BC0 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.8% C 0.167 H 262.8°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#2B5BC0
RGBrgb(43, 91, 192)
HSLhsl(221, 63%, 46%)
HSVhsv(221, 78%, 75%)
CMYKcmyk(77.6%, 52.6%, 0%, 24.7%)
CIE-LABlab(40.90, 20.37, -57.62)
CIE-LCHlch(40.90, 61.11, 289.47°)
OKLaboklab(49.76% -0.0211 -0.166)
OKLCHoklch(49.76% 0.167 262.8)
XYZxyz(14.2484, 11.7999, 51.3856)
Luminance0.1180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5BC0 #C0902B
analogous
#2BA5C0 #2B5BC0 #452BC0
triadic
#2B5BC0 #C02B5B #5BC02B
tetradic
#2B5BC0 #C02BA5 #C0902B #2BC045
square
#2B5BC0 #C02BA5 #C0902B #2BC045
split-complementary
#2B5BC0 #C0452B #A5C02B
monochromatic
#152C5C #20438E #2B5BC0 #507CD8 #82A1E3

Accessibility & contrast

On white

6.25
#2B5BC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#2B5BC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5BC0
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5BC0#FFFFFF#000000##FFFFFF
##2B5BC01.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1168C4
Deuteranopia (green-blind)
#005ABE
Tritanopia (blue-blind)
#007484
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2b5bc0;
/* rgb */ color: rgb(43, 91, 192);
/* oklch */ color: oklch(49.8% 0.167 262.8);
Tailwind
colors: {
  custom: {
    50: '#7b88d4',
    500: '#2b5bc0',
    950: '#000000',
  },
}
SCSS
$custom: #2b5bc0;
$custom-light: #7b88d4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5bc0",
  "rgb": {
    "r": 43,
    "g": 91,
    "b": 192
  },
  "hsl": {
    "h": 220.671,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.49755,
    "c": 0.16732,
    "h": 262.8
  },
  "luminance": 0.11802
}

Semantic roles & 50–950 ramp

primary
#2B5BC0
secondary
#CCB27B
accent
#B141E6
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2B5BC0

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

Preview Lab → · Contrast checker → · Palette generator →

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