#2B5AA8#2B5AA8

#2B5AA8 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 47.8% C 0.136 H 260.0°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#2B5AA8
RGBrgb(43, 90, 168)
HSLhsl(217, 59%, 41%)
HSVhsv(217, 74%, 66%)
CMYKcmyk(74.4%, 46.4%, 0%, 34.1%)
CIE-LABlab(38.99, 11.83, -46.59)
CIE-LCHlch(38.99, 48.07, 284.25°)
OKLaboklab(47.78% -0.0236 -0.1336)
OKLCHoklch(47.78% 0.136 260)
XYZxyz(11.7178, 10.6518, 38.4766)
Luminance0.1065 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5AA8 #A8792B
analogous
#2B99A8 #2B5AA8 #3B2BA8
triadic
#2B5AA8 #A82B5A #5AA82B
tetradic
#2B5AA8 #A82B99 #A8792B #2BA83B
square
#2B5AA8 #A82B99 #A8792B #2BA83B
split-complementary
#2B5AA8 #A83B2B #99A82B
monochromatic
#122647 #1F4077 #2B5AA8 #4277CF #729ADB

Accessibility & contrast

On white

6.71
#2B5AA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#2B5AA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5AA8
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5AA8#FFFFFF#000000##FFFFFF
##2B5AA81.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3162AB
Deuteranopia (green-blind)
#1556A6
Tritanopia (blue-blind)
#006C79
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2b5aa8;
/* rgb */ color: rgb(43, 90, 168);
/* oklch */ color: oklch(47.8% 0.136 260.0);
Tailwind
colors: {
  custom: {
    50: '#7588c2',
    500: '#2b5aa8',
    950: '#000000',
  },
}
SCSS
$custom: #2b5aa8;
$custom-light: #7588c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5aa8",
  "rgb": {
    "r": 43,
    "g": 90,
    "b": 168
  },
  "hsl": {
    "h": 217.44,
    "s": 59.242,
    "l": 41.373
  },
  "oklch": {
    "l": 0.47775,
    "c": 0.13563,
    "h": 260
  },
  "luminance": 0.10653
}

Semantic roles & 50–950 ramp

primary
#2B5AA8
secondary
#C2A26C
accent
#A745E2
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #2B5AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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