#2B5AAC#2B5AAC

#2B5AAC is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.1% C 0.141 H 260.7°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#2B5AAC
RGBrgb(43, 90, 172)
HSLhsl(218, 60%, 42%)
HSVhsv(218, 75%, 67%)
CMYKcmyk(75%, 47.7%, 0%, 32.5%)
CIE-LABlab(39.25, 13.37, -48.54)
CIE-LCHlch(39.25, 50.35, 285.40°)
OKLaboklab(48.06% -0.0229 -0.1393)
OKLCHoklch(48.06% 0.141 260.7)
XYZxyz(12.0961, 10.8031, 40.4694)
Luminance0.1080 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5AAC #AC7D2B
analogous
#2B9AAC #2B5AAC #3D2BAC
triadic
#2B5AAC #AC2B5A #5AAC2B
tetradic
#2B5AAC #AC2B9A #AC7D2B #2BAC3D
square
#2B5AAC #AC2B9A #AC7D2B #2BAC3D
split-complementary
#2B5AAC #AC3D2B #9AAC2B
monochromatic
#13274A #1F407B #2B5AAC #4477D0 #759BDC

Accessibility & contrast

On white

6.64
#2B5AAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#2B5AAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5AAC
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5AAC#FFFFFF#000000##FFFFFF
##2B5AAC1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E63AF
Deuteranopia (green-blind)
#0957AA
Tritanopia (blue-blind)
#006D7A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2b5aac;
/* rgb */ color: rgb(43, 90, 172);
/* oklch */ color: oklch(48.1% 0.141 260.7);
Tailwind
colors: {
  custom: {
    50: '#7688c5',
    500: '#2b5aac',
    950: '#000000',
  },
}
SCSS
$custom: #2b5aac;
$custom-light: #7688c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5aac",
  "rgb": {
    "r": 43,
    "g": 90,
    "b": 172
  },
  "hsl": {
    "h": 218.14,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.48058,
    "c": 0.14117,
    "h": 260.7
  },
  "luminance": 0.10804
}

Semantic roles & 50–950 ramp

primary
#2B5AAC
secondary
#C4A56F
accent
#A945E3
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2B5AAC

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

Preview Lab → · Contrast checker → · Palette generator →

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