#2B5BA9#2B5BA9

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

Color values

HEX#2B5BA9
RGBrgb(43, 91, 169)
HSLhsl(217, 59%, 42%)
HSVhsv(217, 75%, 66%)
CMYKcmyk(74.6%, 46.2%, 0%, 33.7%)
CIE-LABlab(39.34, 11.56, -46.62)
CIE-LCHlch(39.34, 48.03, 283.93°)
OKLaboklab(48.07% -0.0243 -0.1336)
OKLCHoklch(48.07% 0.136 259.7)
XYZxyz(11.8962, 10.8590, 38.9975)
Luminance0.1086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5BA9 #A9792B
analogous
#2B9AA9 #2B5BA9 #3A2BA9
triadic
#2B5BA9 #A92B5B #5BA92B
tetradic
#2B5BA9 #A92B9A #A9792B #2BA93A
square
#2B5BA9 #A92B9A #A9792B #2BA93A
split-complementary
#2B5BA9 #A93A2B #9AA92B
monochromatic
#122647 #1F4178 #2B5BA9 #4278CF #739BDB

Accessibility & contrast

On white

6.62
#2B5BA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#2B5BA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5BA9
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5BA9#FFFFFF#000000##FFFFFF
##2B5BA91.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3363AC
Deuteranopia (green-blind)
#1757A7
Tritanopia (blue-blind)
#006D7A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2b5ba9;
/* rgb */ color: rgb(43, 91, 169);
/* oklch */ color: oklch(48.1% 0.136 259.7);
Tailwind
colors: {
  custom: {
    50: '#7688c3',
    500: '#2b5ba9',
    950: '#000000',
  },
}
SCSS
$custom: #2b5ba9;
$custom-light: #7688c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5ba9",
  "rgb": {
    "r": 43,
    "g": 91,
    "b": 169
  },
  "hsl": {
    "h": 217.143,
    "s": 59.434,
    "l": 41.569
  },
  "oklch": {
    "l": 0.48069,
    "c": 0.13581,
    "h": 259.7
  },
  "luminance": 0.1086
}

Semantic roles & 50–950 ramp

primary
#2B5BA9
secondary
#C3A26D
accent
#A745E3
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #2B5BA9

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

Preview Lab → · Contrast checker → · Palette generator →

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