#2B5FB4#2B5FB4

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

Color values

HEX#2B5FB4
RGBrgb(43, 95, 180)
HSLhsl(217, 61%, 44%)
HSVhsv(217, 76%, 71%)
CMYKcmyk(76.1%, 47.2%, 0%, 29.4%)
CIE-LABlab(41.20, 13.17, -50.11)
CIE-LCHlch(41.20, 51.81, 284.73°)
OKLaboklab(49.73% -0.0259 -0.1438)
OKLCHoklch(49.73% 0.146 259.8)
XYZxyz(13.3237, 11.9918, 44.7836)
Luminance0.1199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5FB4 #B4802B
analogous
#2BA3B4 #2B5FB4 #3B2BB4
triadic
#2B5FB4 #B42B5F #5FB42B
tetradic
#2B5FB4 #B42BA3 #B4802B #2BB43B
square
#2B5FB4 #B42BA3 #B4802B #2BB43B
split-complementary
#2B5FB4 #B43B2B #A3B42B
monochromatic
#132B51 #1F4583 #2B5FB4 #497DD3 #7AA1DF

Accessibility & contrast

On white

6.18
#2B5FB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#2B5FB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5FB4
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5FB4#FFFFFF#000000##FFFFFF
##2B5FB41.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3168B7
Deuteranopia (green-blind)
#0B5BB2
Tritanopia (blue-blind)
#007381
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2b5fb4;
/* rgb */ color: rgb(43, 95, 180);
/* oklch */ color: oklch(49.7% 0.146 259.8);
Tailwind
colors: {
  custom: {
    50: '#788bcb',
    500: '#2b5fb4',
    950: '#000000',
  },
}
SCSS
$custom: #2b5fb4;
$custom-light: #788bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5fb4",
  "rgb": {
    "r": 43,
    "g": 95,
    "b": 180
  },
  "hsl": {
    "h": 217.226,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.49729,
    "c": 0.14613,
    "h": 259.8
  },
  "luminance": 0.11993
}

Semantic roles & 50–950 ramp

primary
#2B5FB4
secondary
#C7A873
accent
#A743E5
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2B5FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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