#2B5EB3#2B5EB3

#2B5EB3 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.4% C 0.146 H 260.1°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#2B5EB3
RGBrgb(43, 94, 179)
HSLhsl(218, 61%, 44%)
HSVhsv(218, 76%, 70%)
CMYKcmyk(76%, 47.5%, 0%, 29.8%)
CIE-LABlab(40.85, 13.44, -50.09)
CIE-LCHlch(40.85, 51.86, 285.02°)
OKLaboklab(49.44% -0.0252 -0.1438)
OKLCHoklch(49.44% 0.146 260.1)
XYZxyz(13.1327, 11.7722, 44.2192)
Luminance0.1177 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5EB3 #B3802B
analogous
#2BA2B3 #2B5EB3 #3C2BB3
triadic
#2B5EB3 #B32B5E #5EB32B
tetradic
#2B5EB3 #B32BA2 #B3802B #2BB33C
square
#2B5EB3 #B32BA2 #B3802B #2BB33C
split-complementary
#2B5EB3 #B33C2B #A2B32B
monochromatic
#132A50 #1F4482 #2B5EB3 #487CD3 #79A0DF

Accessibility & contrast

On white

6.26
#2B5EB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2B5EB3
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5EB3#FFFFFF#000000##FFFFFF
##2B5EB31.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3067B6
Deuteranopia (green-blind)
#085AB1
Tritanopia (blue-blind)
#007280
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2b5eb3;
/* rgb */ color: rgb(43, 94, 179);
/* oklch */ color: oklch(49.4% 0.146 260.1);
Tailwind
colors: {
  custom: {
    50: '#788bca',
    500: '#2b5eb3',
    950: '#000000',
  },
}
SCSS
$custom: #2b5eb3;
$custom-light: #788bca;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5eb3",
  "rgb": {
    "r": 43,
    "g": 94,
    "b": 179
  },
  "hsl": {
    "h": 217.5,
    "s": 61.261,
    "l": 43.529
  },
  "oklch": {
    "l": 0.49438,
    "c": 0.14596,
    "h": 260.1
  },
  "luminance": 0.11774
}

Semantic roles & 50–950 ramp

primary
#2B5EB3
secondary
#C7A773
accent
#A843E4
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2B5EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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