#2B5EC0#2B5EC0

#2B5EC0 is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.4% C 0.164 H 261.8°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#2B5EC0
RGBrgb(43, 94, 192)
HSLhsl(219, 63%, 46%)
HSVhsv(219, 78%, 75%)
CMYKcmyk(77.6%, 51%, 0%, 24.7%)
CIE-LABlab(41.73, 18.41, -56.27)
CIE-LCHlch(41.73, 59.21, 288.12°)
OKLaboklab(50.39% -0.0234 -0.162)
OKLCHoklch(50.39% 0.164 261.8)
XYZxyz(14.5100, 12.3231, 51.4728)
Luminance0.1232 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5EC0 #C08D2B
analogous
#2BA8C0 #2B5EC0 #422BC0
triadic
#2B5EC0 #C02B5E #5EC02B
tetradic
#2B5EC0 #C02BA8 #C08D2B #2BC042
square
#2B5EC0 #C02BA8 #C08D2B #2BC042
split-complementary
#2B5EC0 #C0422B #A8C02B
monochromatic
#152D5C #20468E #2B5EC0 #507FD8 #82A3E3

Accessibility & contrast

On white

6.06
#2B5EC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#2B5EC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5EC0
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5EC0#FFFFFF#000000##FFFFFF
##2B5EC01.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F6AC4
Deuteranopia (green-blind)
#005CBE
Tritanopia (blue-blind)
#007686
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2b5ec0;
/* rgb */ color: rgb(43, 94, 192);
/* oklch */ color: oklch(50.4% 0.164 261.8);
Tailwind
colors: {
  custom: {
    50: '#7b8bd4',
    500: '#2b5ec0',
    950: '#000000',
  },
}
SCSS
$custom: #2b5ec0;
$custom-light: #7b8bd4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5ec0",
  "rgb": {
    "r": 43,
    "g": 94,
    "b": 192
  },
  "hsl": {
    "h": 219.463,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.50386,
    "c": 0.16366,
    "h": 261.8
  },
  "luminance": 0.12325
}

Semantic roles & 50–950 ramp

primary
#2B5EC0
secondary
#CCB07B
accent
#AE41E6
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2B5EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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