#2B5EB2#2B5EB2

#2B5EB2 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.4% C 0.145 H 259.9°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#2B5EB2
RGBrgb(43, 94, 178)
HSLhsl(217, 61%, 43%)
HSVhsv(217, 76%, 70%)
CMYKcmyk(75.8%, 47.2%, 0%, 30.2%)
CIE-LABlab(40.79, 13.06, -49.61)
CIE-LCHlch(40.79, 51.29, 284.74°)
OKLaboklab(49.37% -0.0254 -0.1423)
OKLCHoklch(49.37% 0.145 259.9)
XYZxyz(13.0319, 11.7319, 43.6885)
Luminance0.1173 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5EB2 #B27F2B
analogous
#2BA1B2 #2B5EB2 #3B2BB2
triadic
#2B5EB2 #B22B5E #5EB22B
tetradic
#2B5EB2 #B22BA1 #B27F2B #2BB23B
square
#2B5EB2 #B22BA1 #B27F2B #2BB23B
split-complementary
#2B5EB2 #B23B2B #A1B22B
monochromatic
#132A4F #1F4481 #2B5EB2 #487CD3 #799FDF

Accessibility & contrast

On white

6.28
#2B5EB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#2B5EB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5EB2
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5EB2#FFFFFF#000000##FFFFFF
##2B5EB21.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3167B5
Deuteranopia (green-blind)
#0C5AB0
Tritanopia (blue-blind)
#00727F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2b5eb2;
/* rgb */ color: rgb(43, 94, 178);
/* oklch */ color: oklch(49.4% 0.145 259.9);
Tailwind
colors: {
  custom: {
    50: '#778bc9',
    500: '#2b5eb2',
    950: '#000000',
  },
}
SCSS
$custom: #2b5eb2;
$custom-light: #778bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5eb2",
  "rgb": {
    "r": 43,
    "g": 94,
    "b": 178
  },
  "hsl": {
    "h": 217.333,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.49367,
    "c": 0.14459,
    "h": 259.9
  },
  "luminance": 0.11733
}

Semantic roles & 50–950 ramp

primary
#2B5EB2
secondary
#C7A772
accent
#A844E4
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2B5EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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