#2B5CA1#2B5CA1

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

Color values

HEX#2B5CA1
RGBrgb(43, 92, 161)
HSLhsl(215, 58%, 40%)
HSVhsv(215, 73%, 63%)
CMYKcmyk(73.3%, 42.9%, 0%, 36.9%)
CIE-LABlab(39.14, 7.86, -42.19)
CIE-LCHlch(39.14, 42.91, 280.55°)
OKLaboklab(47.75% -0.0268 -0.1206)
OKLCHoklch(47.75% 0.124 257.5)
XYZxyz(11.2541, 10.7399, 35.1912)
Luminance0.1074 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5CA1 #A1702B
analogous
#2B97A1 #2B5CA1 #352BA1
triadic
#2B5CA1 #A12B5C #5CA12B
tetradic
#2B5CA1 #A12B97 #A1702B #2BA135
square
#2B5CA1 #A12B97 #A1702B #2BA135
split-complementary
#2B5CA1 #A1352B #97A12B
monochromatic
#112540 #1E4071 #2B5CA1 #3E79CB #6E9AD8

Accessibility & contrast

On white

6.67
#2B5CA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#2B5CA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5CA1
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5CA1#FFFFFF#000000##FFFFFF
##2B5CA11.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B62A4
Deuteranopia (green-blind)
#2657A0
Tritanopia (blue-blind)
#006C76
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2b5ca1;
/* rgb */ color: rgb(43, 92, 161);
/* oklch */ color: oklch(47.8% 0.124 257.5);
Tailwind
colors: {
  custom: {
    50: '#7489bd',
    500: '#2b5ca1',
    950: '#000000',
  },
}
SCSS
$custom: #2b5ca1;
$custom-light: #7489bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5ca1",
  "rgb": {
    "r": 43,
    "g": 92,
    "b": 161
  },
  "hsl": {
    "h": 215.085,
    "s": 57.843,
    "l": 40
  },
  "oklch": {
    "l": 0.47752,
    "c": 0.12351,
    "h": 257.5
  },
  "luminance": 0.10741
}

Semantic roles & 50–950 ramp

primary
#2B5CA1
secondary
#BF9B69
accent
#A147E1
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2B5CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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