#2B5FAA#2B5FAA

#2B5FAA is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.0% C 0.132 H 257.9°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#2B5FAA
RGBrgb(43, 95, 170)
HSLhsl(215, 60%, 42%)
HSVhsv(215, 75%, 67%)
CMYKcmyk(74.7%, 44.1%, 0%, 33.3%)
CIE-LABlab(40.57, 9.35, -45.24)
CIE-LCHlch(40.57, 46.19, 281.68°)
OKLaboklab(49.04% -0.0277 -0.1295)
OKLCHoklch(49.04% 0.132 257.9)
XYZxyz(12.3415, 11.5989, 39.6108)
Luminance0.1160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5FAA #AA762B
analogous
#2B9FAA #2B5FAA #372BAA
triadic
#2B5FAA #AA2B5F #5FAA2B
tetradic
#2B5FAA #AA2B9F #AA762B #2BAA37
square
#2B5FAA #AA2B9F #AA762B #2BAA37
split-complementary
#2B5FAA #AA372B #9FAA2B
monochromatic
#122848 #1F4479 #2B5FAA #437CCF #749EDC

Accessibility & contrast

On white

6.33
#2B5FAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#2B5FAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5FAA
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5FAA#FFFFFF#000000##FFFFFF
##2B5FAA1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A66AD
Deuteranopia (green-blind)
#225AA8
Tritanopia (blue-blind)
#00717C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2b5faa;
/* rgb */ color: rgb(43, 95, 170);
/* oklch */ color: oklch(49.0% 0.132 257.9);
Tailwind
colors: {
  custom: {
    50: '#768bc4',
    500: '#2b5faa',
    950: '#000000',
  },
}
SCSS
$custom: #2b5faa;
$custom-light: #768bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5faa",
  "rgb": {
    "r": 43,
    "g": 95,
    "b": 170
  },
  "hsl": {
    "h": 215.433,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49038,
    "c": 0.13241,
    "h": 257.9
  },
  "luminance": 0.116
}

Semantic roles & 50–950 ramp

primary
#2B5FAA
secondary
#C3A06E
accent
#A245E3
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2B5FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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