#2B5AA0#2B5AA0

#2B5AA0 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.2% C 0.124 H 258.4°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#2B5AA0
RGBrgb(43, 90, 160)
HSLhsl(216, 58%, 40%)
HSVhsv(216, 73%, 63%)
CMYKcmyk(73.1%, 43.7%, 0%, 37.3%)
CIE-LABlab(38.49, 8.77, -42.63)
CIE-LCHlch(38.49, 43.53, 281.63°)
OKLaboklab(47.23% -0.0251 -0.1219)
OKLCHoklch(47.23% 0.124 258.4)
XYZxyz(10.9953, 10.3628, 34.6716)
Luminance0.1036 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5AA0 #A0712B
analogous
#2B95A0 #2B5AA0 #362BA0
triadic
#2B5AA0 #A02B5A #5AA02B
tetradic
#2B5AA0 #A02B95 #A0712B #2BA036
square
#2B5AA0 #A02B95 #A0712B #2BA036
split-complementary
#2B5AA0 #A0362B #95A02B
monochromatic
#112440 #1E3F70 #2B5AA0 #3D76CB #6E98D8

Accessibility & contrast

On white

6.83
#2B5AA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#2B5AA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5AA0
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5AA0#FFFFFF#000000##FFFFFF
##2B5AA01.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3860A3
Deuteranopia (green-blind)
#23569F
Tritanopia (blue-blind)
#006A75
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2b5aa0;
/* rgb */ color: rgb(43, 90, 160);
/* oklch */ color: oklch(47.2% 0.124 258.4);
Tailwind
colors: {
  custom: {
    50: '#7488bc',
    500: '#2b5aa0',
    950: '#000000',
  },
}
SCSS
$custom: #2b5aa0;
$custom-light: #7488bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5aa0",
  "rgb": {
    "r": 43,
    "g": 90,
    "b": 160
  },
  "hsl": {
    "h": 215.897,
    "s": 57.635,
    "l": 39.804
  },
  "oklch": {
    "l": 0.47226,
    "c": 0.12448,
    "h": 258.4
  },
  "luminance": 0.10364
}

Semantic roles & 50–950 ramp

primary
#2B5AA0
secondary
#BF9C68
accent
#A347E1
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2B5AA0

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

Preview Lab → · Contrast checker → · Palette generator →

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