#2B5FB6#2B5FB6

#2B5FB6 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 49.9% C 0.149 H 260.1°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#2B5FB6
RGBrgb(43, 95, 182)
HSLhsl(218, 62%, 44%)
HSVhsv(218, 76%, 71%)
CMYKcmyk(76.4%, 47.8%, 0%, 28.6%)
CIE-LABlab(41.33, 13.94, -51.07)
CIE-LCHlch(41.33, 52.94, 285.26°)
OKLaboklab(49.87% -0.0256 -0.1466)
OKLCHoklch(49.87% 0.149 260.1)
XYZxyz(13.5289, 12.0739, 45.8644)
Luminance0.1207 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5FB6 #B6822B
analogous
#2BA5B6 #2B5FB6 #3D2BB6
triadic
#2B5FB6 #B62B5F #5FB62B
tetradic
#2B5FB6 #B62BA5 #B6822B #2BB63D
square
#2B5FB6 #B62BA5 #B6822B #2BB63D
split-complementary
#2B5FB6 #B63D2B #A5B62B
monochromatic
#142B53 #1F4584 #2B5FB6 #4A7ED4 #7BA1E0

Accessibility & contrast

On white

6.15
#2B5FB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#2B5FB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5FB6
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5FB6#FFFFFF#000000##FFFFFF
##2B5FB61.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F68B9
Deuteranopia (green-blind)
#025CB4
Tritanopia (blue-blind)
#007482
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2b5fb6;
/* rgb */ color: rgb(43, 95, 182);
/* oklch */ color: oklch(49.9% 0.149 260.1);
Tailwind
colors: {
  custom: {
    50: '#788bcc',
    500: '#2b5fb6',
    950: '#000000',
  },
}
SCSS
$custom: #2b5fb6;
$custom-light: #788bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5fb6",
  "rgb": {
    "r": 43,
    "g": 95,
    "b": 182
  },
  "hsl": {
    "h": 217.554,
    "s": 61.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.49871,
    "c": 0.14886,
    "h": 260.1
  },
  "luminance": 0.12075
}

Semantic roles & 50–950 ramp

primary
#2B5FB6
secondary
#C8A975
accent
#A843E5
background
#F7F8FC
surface
#EEF0F9
border
#C9CBD2
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2B5FB6

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

Preview Lab → · Contrast checker → · Palette generator →

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