#2B5CA4#2B5CA4

#2B5CA4 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.0% C 0.128 H 258.2°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#2B5CA4
RGBrgb(43, 92, 164)
HSLhsl(216, 58%, 41%)
HSVhsv(216, 74%, 64%)
CMYKcmyk(73.8%, 43.9%, 0%, 35.7%)
CIE-LABlab(39.32, 9.00, -43.68)
CIE-LCHlch(39.32, 44.60, 281.64°)
OKLaboklab(47.95% -0.0262 -0.125)
OKLCHoklch(47.95% 0.128 258.2)
XYZxyz(11.5218, 10.8470, 36.6012)
Luminance0.1085 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5CA4 #A4732B
analogous
#2B98A4 #2B5CA4 #362BA4
triadic
#2B5CA4 #A42B5C #5CA42B
tetradic
#2B5CA4 #A42B98 #A4732B #2BA436
square
#2B5CA4 #A42B98 #A4732B #2BA436
split-complementary
#2B5CA4 #A4362B #98A42B
monochromatic
#122643 #1E4174 #2B5CA4 #3F79CD #709BD9

Accessibility & contrast

On white

6.63
#2B5CA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#2B5CA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5CA4
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5CA4#FFFFFF#000000##FFFFFF
##2B5CA41.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3963A7
Deuteranopia (green-blind)
#2257A3
Tritanopia (blue-blind)
#006D78
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2b5ca4;
/* rgb */ color: rgb(43, 92, 164);
/* oklch */ color: oklch(48.0% 0.128 258.2);
Tailwind
colors: {
  custom: {
    50: '#7589bf',
    500: '#2b5ca4',
    950: '#000000',
  },
}
SCSS
$custom: #2b5ca4;
$custom-light: #7589bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5ca4",
  "rgb": {
    "r": 43,
    "g": 92,
    "b": 164
  },
  "hsl": {
    "h": 215.702,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.47952,
    "c": 0.12767,
    "h": 258.2
  },
  "luminance": 0.10848
}

Semantic roles & 50–950 ramp

primary
#2B5CA4
secondary
#C19E6A
accent
#A346E2
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2B5CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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