#2B5CA2#2B5CA2

#2B5CA2 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 47.8% C 0.125 H 257.7°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#2B5CA2
RGBrgb(43, 92, 162)
HSLhsl(215, 58%, 40%)
HSVhsv(215, 73%, 64%)
CMYKcmyk(73.5%, 43.2%, 0%, 36.5%)
CIE-LABlab(39.20, 8.24, -42.69)
CIE-LCHlch(39.20, 43.47, 280.92°)
OKLaboklab(47.82% -0.0266 -0.122)
OKLCHoklch(47.82% 0.125 257.7)
XYZxyz(11.3426, 10.7753, 35.6575)
Luminance0.1078 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5CA2 #A2712B
analogous
#2B98A2 #2B5CA2 #352BA2
triadic
#2B5CA2 #A22B5C #5CA22B
tetradic
#2B5CA2 #A22B98 #A2712B #2BA235
square
#2B5CA2 #A22B98 #A2712B #2BA235
split-complementary
#2B5CA2 #A2352B #98A22B
monochromatic
#112541 #1E4172 #2B5CA2 #3E79CC #6F9AD9

Accessibility & contrast

On white

6.66
#2B5CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#2B5CA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5CA2
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5CA2#FFFFFF#000000##FFFFFF
##2B5CA21.006.663.166.66
#FFFFFF6.661.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A62A5
Deuteranopia (green-blind)
#2557A1
Tritanopia (blue-blind)
#006C77
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2b5ca2;
/* rgb */ color: rgb(43, 92, 162);
/* oklch */ color: oklch(47.8% 0.125 257.7);
Tailwind
colors: {
  custom: {
    50: '#7489be',
    500: '#2b5ca2',
    950: '#000000',
  },
}
SCSS
$custom: #2b5ca2;
$custom-light: #7489be;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5ca2",
  "rgb": {
    "r": 43,
    "g": 92,
    "b": 162
  },
  "hsl": {
    "h": 215.294,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.47818,
    "c": 0.1249,
    "h": 257.7
  },
  "luminance": 0.10777
}

Semantic roles & 50–950 ramp

primary
#2B5CA2
secondary
#C09C69
accent
#A247E1
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2B5CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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