#2B5AA4#2B5AA4

#2B5AA4 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 47.5% C 0.130 H 259.2°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#2B5AA4
RGBrgb(43, 90, 164)
HSLhsl(217, 58%, 41%)
HSVhsv(217, 74%, 64%)
CMYKcmyk(73.8%, 45.1%, 0%, 35.7%)
CIE-LABlab(38.73, 10.30, -44.62)
CIE-LCHlch(38.73, 45.80, 283.00°)
OKLaboklab(47.5% -0.0243 -0.1278)
OKLCHoklch(47.5% 0.13 259.2)
XYZxyz(11.3508, 10.5050, 36.5442)
Luminance0.1051 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5AA4 #A4752B
analogous
#2B96A4 #2B5AA4 #382BA4
triadic
#2B5AA4 #A42B5A #5AA42B
tetradic
#2B5AA4 #A42B96 #A4752B #2BA438
square
#2B5AA4 #A42B96 #A4752B #2BA438
split-complementary
#2B5AA4 #A4382B #96A42B
monochromatic
#122543 #1E3F74 #2B5AA4 #3F76CD #7099D9

Accessibility & contrast

On white

6.77
#2B5AA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#2B5AA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5AA4
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5AA4#FFFFFF#000000##FFFFFF
##2B5AA41.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3561A7
Deuteranopia (green-blind)
#1D56A3
Tritanopia (blue-blind)
#006B77
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2b5aa4;
/* rgb */ color: rgb(43, 90, 164);
/* oklch */ color: oklch(47.5% 0.130 259.2);
Tailwind
colors: {
  custom: {
    50: '#7588bf',
    500: '#2b5aa4',
    950: '#000000',
  },
}
SCSS
$custom: #2b5aa4;
$custom-light: #7588bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5aa4",
  "rgb": {
    "r": 43,
    "g": 90,
    "b": 164
  },
  "hsl": {
    "h": 216.694,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.47498,
    "c": 0.13006,
    "h": 259.2
  },
  "luminance": 0.10506
}

Semantic roles & 50–950 ramp

primary
#2B5AA4
secondary
#C19F6A
accent
#A546E2
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2B5AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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