#2B5FB3#2B5FB3

#2B5FB3 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 49.7% C 0.145 H 259.6°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#2B5FB3
RGBrgb(43, 95, 179)
HSLhsl(217, 61%, 44%)
HSVhsv(217, 76%, 70%)
CMYKcmyk(76%, 46.9%, 0%, 29.8%)
CIE-LABlab(41.14, 12.79, -49.63)
CIE-LCHlch(41.14, 51.25, 284.45°)
OKLaboklab(49.66% -0.0261 -0.1424)
OKLCHoklch(49.66% 0.145 259.6)
XYZxyz(13.2222, 11.9512, 44.2490)
Luminance0.1195 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5FB3 #B37F2B
analogous
#2BA3B3 #2B5FB3 #3B2BB3
triadic
#2B5FB3 #B32B5F #5FB32B
tetradic
#2B5FB3 #B32BA3 #B37F2B #2BB33B
square
#2B5FB3 #B32BA3 #B37F2B #2BB33B
split-complementary
#2B5FB3 #B33B2B #A3B32B
monochromatic
#132B50 #1F4582 #2B5FB3 #487DD3 #79A0DF

Accessibility & contrast

On white

6.19
#2B5FB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#2B5FB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5FB3
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5FB3#FFFFFF#000000##FFFFFF
##2B5FB31.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3268B6
Deuteranopia (green-blind)
#0F5BB1
Tritanopia (blue-blind)
#007380
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2b5fb3;
/* rgb */ color: rgb(43, 95, 179);
/* oklch */ color: oklch(49.7% 0.145 259.6);
Tailwind
colors: {
  custom: {
    50: '#788bca',
    500: '#2b5fb3',
    950: '#000000',
  },
}
SCSS
$custom: #2b5fb3;
$custom-light: #788bca;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5fb3",
  "rgb": {
    "r": 43,
    "g": 95,
    "b": 179
  },
  "hsl": {
    "h": 217.059,
    "s": 61.261,
    "l": 43.529
  },
  "oklch": {
    "l": 0.49658,
    "c": 0.14476,
    "h": 259.6
  },
  "luminance": 0.11953
}

Semantic roles & 50–950 ramp

primary
#2B5FB3
secondary
#C7A773
accent
#A743E4
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2B5FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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