#2B5BAA#2B5BAA

#2B5BAA is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.1% C 0.137 H 259.9°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#2B5BAA
RGBrgb(43, 91, 170)
HSLhsl(217, 60%, 42%)
HSVhsv(217, 75%, 67%)
CMYKcmyk(74.7%, 46.5%, 0%, 33.3%)
CIE-LABlab(39.41, 11.95, -47.11)
CIE-LCHlch(39.41, 48.60, 284.23°)
OKLaboklab(48.14% -0.0241 -0.135)
OKLCHoklch(48.14% 0.137 259.9)
XYZxyz(11.9904, 10.8967, 39.4938)
Luminance0.1090 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5BAA #AA7A2B
analogous
#2B9BAA #2B5BAA #3B2BAA
triadic
#2B5BAA #AA2B5B #5BAA2B
tetradic
#2B5BAA #AA2B9B #AA7A2B #2BAA3B
square
#2B5BAA #AA2B9B #AA7A2B #2BAA3B
split-complementary
#2B5BAA #AA3B2B #9BAA2B
monochromatic
#122748 #1F4179 #2B5BAA #4378CF #749BDC

Accessibility & contrast

On white

6.60
#2B5BAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#2B5BAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5BAA
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5BAA#FFFFFF#000000##FFFFFF
##2B5BAA1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3263AD
Deuteranopia (green-blind)
#1557A8
Tritanopia (blue-blind)
#006E7A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2b5baa;
/* rgb */ color: rgb(43, 91, 170);
/* oklch */ color: oklch(48.1% 0.137 259.9);
Tailwind
colors: {
  custom: {
    50: '#7688c4',
    500: '#2b5baa',
    950: '#000000',
  },
}
SCSS
$custom: #2b5baa;
$custom-light: #7688c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5baa",
  "rgb": {
    "r": 43,
    "g": 91,
    "b": 170
  },
  "hsl": {
    "h": 217.323,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.48139,
    "c": 0.13719,
    "h": 259.9
  },
  "luminance": 0.10898
}

Semantic roles & 50–950 ramp

primary
#2B5BAA
secondary
#C3A36E
accent
#A745E3
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2B5BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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