#2B5BAE#2B5BAE

#2B5BAE is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.4% C 0.143 H 260.5°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#2B5BAE
RGBrgb(43, 91, 174)
HSLhsl(218, 60%, 43%)
HSVhsv(218, 75%, 68%)
CMYKcmyk(75.3%, 47.7%, 0%, 31.8%)
CIE-LABlab(39.67, 13.48, -49.05)
CIE-LCHlch(39.67, 50.87, 285.37°)
OKLaboklab(48.42% -0.0235 -0.1408)
OKLCHoklch(48.42% 0.143 260.5)
XYZxyz(12.3746, 11.0504, 41.5170)
Luminance0.1105 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5BAE #AE7E2B
analogous
#2B9DAE #2B5BAE #3C2BAE
triadic
#2B5BAE #AE2B5B #5BAE2B
tetradic
#2B5BAE #AE2B9D #AE7E2B #2BAE3C
square
#2B5BAE #AE2B9D #AE7E2B #2BAE3C
split-complementary
#2B5BAE #AE3C2B #9DAE2B
monochromatic
#13284C #1F417D #2B5BAE #4578D1 #769CDD

Accessibility & contrast

On white

6.54
#2B5BAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#2B5BAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5BAE
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5BAE#FFFFFF#000000##FFFFFF
##2B5BAE1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E64B1
Deuteranopia (green-blind)
#0858AC
Tritanopia (blue-blind)
#006F7C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2b5bae;
/* rgb */ color: rgb(43, 91, 174);
/* oklch */ color: oklch(48.4% 0.143 260.5);
Tailwind
colors: {
  custom: {
    50: '#7788c7',
    500: '#2b5bae',
    950: '#000000',
  },
}
SCSS
$custom: #2b5bae;
$custom-light: #7788c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5bae",
  "rgb": {
    "r": 43,
    "g": 91,
    "b": 174
  },
  "hsl": {
    "h": 218.015,
    "s": 60.369,
    "l": 42.549
  },
  "oklch": {
    "l": 0.48421,
    "c": 0.14272,
    "h": 260.5
  },
  "luminance": 0.11052
}

Semantic roles & 50–950 ramp

primary
#2B5BAE
secondary
#C5A670
accent
#A944E4
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2B5BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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