#2B5CB2#2B5CB2

#2B5CB2 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 48.9% C 0.147 H 260.7°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#2B5CB2
RGBrgb(43, 92, 178)
HSLhsl(218, 61%, 43%)
HSVhsv(218, 76%, 70%)
CMYKcmyk(75.8%, 48.3%, 0%, 30.2%)
CIE-LABlab(40.21, 14.36, -50.53)
CIE-LCHlch(40.21, 52.53, 285.86°)
OKLaboklab(48.93% -0.0237 -0.1451)
OKLCHoklch(48.93% 0.147 260.7)
XYZxyz(12.8564, 11.3808, 43.6300)
Luminance0.1138 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5CB2 #B2812B
analogous
#2B9FB2 #2B5CB2 #3D2BB2
triadic
#2B5CB2 #B22B5C #5CB22B
tetradic
#2B5CB2 #B22B9F #B2812B #2BB23D
square
#2B5CB2 #B22B9F #B2812B #2BB23D
split-complementary
#2B5CB2 #B23D2B #9FB22B
monochromatic
#13294F #1F4381 #2B5CB2 #487AD3 #799EDF

Accessibility & contrast

On white

6.41
#2B5CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#2B5CB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5CB2
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5CB2#FFFFFF#000000##FFFFFF
##2B5CB21.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C65B5
Deuteranopia (green-blind)
#0059B0
Tritanopia (blue-blind)
#00707E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2b5cb2;
/* rgb */ color: rgb(43, 92, 178);
/* oklch */ color: oklch(48.9% 0.147 260.7);
Tailwind
colors: {
  custom: {
    50: '#7889ca',
    500: '#2b5cb2',
    950: '#000000',
  },
}
SCSS
$custom: #2b5cb2;
$custom-light: #7889ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5cb2",
  "rgb": {
    "r": 43,
    "g": 92,
    "b": 178
  },
  "hsl": {
    "h": 218.222,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.48928,
    "c": 0.14702,
    "h": 260.7
  },
  "luminance": 0.11382
}

Semantic roles & 50–950 ramp

primary
#2B5CB2
secondary
#C7A872
accent
#AA44E4
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2B5CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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