#2B5AA7#2B5AA7

#2B5AA7 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 47.7% C 0.134 H 259.8°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#2B5AA7
RGBrgb(43, 90, 167)
HSLhsl(217, 59%, 41%)
HSVhsv(217, 74%, 65%)
CMYKcmyk(74.3%, 46.1%, 0%, 34.5%)
CIE-LABlab(38.92, 11.45, -46.10)
CIE-LCHlch(38.92, 47.50, 283.95°)
OKLaboklab(47.71% -0.0238 -0.1321)
OKLCHoklch(47.71% 0.134 259.8)
XYZxyz(11.6250, 10.6147, 37.9879)
Luminance0.1062 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5AA7 #A7782B
analogous
#2B98A7 #2B5AA7 #3A2BA7
triadic
#2B5AA7 #A72B5A #5AA72B
tetradic
#2B5AA7 #A72B98 #A7782B #2BA73A
square
#2B5AA7 #A72B98 #A7782B #2BA73A
split-complementary
#2B5AA7 #A73A2B #98A72B
monochromatic
#122646 #1E4076 #2B5AA7 #4177CE #729ADB

Accessibility & contrast

On white

6.72
#2B5AA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#2B5AA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5AA7
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5AA7#FFFFFF#000000##FFFFFF
##2B5AA71.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3262AA
Deuteranopia (green-blind)
#1756A5
Tritanopia (blue-blind)
#006C78
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2b5aa7;
/* rgb */ color: rgb(43, 90, 167);
/* oklch */ color: oklch(47.7% 0.134 259.8);
Tailwind
colors: {
  custom: {
    50: '#7588c2',
    500: '#2b5aa7',
    950: '#000000',
  },
}
SCSS
$custom: #2b5aa7;
$custom-light: #7588c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5aa7",
  "rgb": {
    "r": 43,
    "g": 90,
    "b": 167
  },
  "hsl": {
    "h": 217.258,
    "s": 59.048,
    "l": 41.176
  },
  "oklch": {
    "l": 0.47706,
    "c": 0.13423,
    "h": 259.8
  },
  "luminance": 0.10616
}

Semantic roles & 50–950 ramp

primary
#2B5AA7
secondary
#C2A16C
accent
#A746E2
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #2B5AA7

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

Preview Lab → · Contrast checker → · Palette generator →

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