#2B5CA8#2B5CA8

#2B5CA8 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.2% C 0.133 H 259.0°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#2B5CA8
RGBrgb(43, 92, 168)
HSLhsl(216, 59%, 41%)
HSVhsv(216, 74%, 66%)
CMYKcmyk(74.4%, 45.2%, 0%, 34.1%)
CIE-LABlab(39.57, 10.53, -45.66)
CIE-LCHlch(39.57, 46.86, 282.99°)
OKLaboklab(48.22% -0.0254 -0.1308)
OKLCHoklch(48.22% 0.133 259)
XYZxyz(11.8887, 10.9937, 38.5336)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5CA8 #A8772B
analogous
#2B9BA8 #2B5CA8 #392BA8
triadic
#2B5CA8 #A82B5C #5CA82B
tetradic
#2B5CA8 #A82B9B #A8772B #2BA839
square
#2B5CA8 #A82B9B #A8772B #2BA839
split-complementary
#2B5CA8 #A8392B #9BA82B
monochromatic
#122747 #1F4177 #2B5CA8 #4279CF #729BDB

Accessibility & contrast

On white

6.56
#2B5CA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#2B5CA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5CA8
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5CA8#FFFFFF#000000##FFFFFF
##2B5CA81.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3563AB
Deuteranopia (green-blind)
#1C58A6
Tritanopia (blue-blind)
#006E7A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2b5ca8;
/* rgb */ color: rgb(43, 92, 168);
/* oklch */ color: oklch(48.2% 0.133 259.0);
Tailwind
colors: {
  custom: {
    50: '#7589c2',
    500: '#2b5ca8',
    950: '#000000',
  },
}
SCSS
$custom: #2b5ca8;
$custom-light: #7589c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5ca8",
  "rgb": {
    "r": 43,
    "g": 92,
    "b": 168
  },
  "hsl": {
    "h": 216.48,
    "s": 59.242,
    "l": 41.373
  },
  "oklch": {
    "l": 0.48224,
    "c": 0.13321,
    "h": 259
  },
  "luminance": 0.10995
}

Semantic roles & 50–950 ramp

primary
#2B5CA8
secondary
#C2A16C
accent
#A545E2
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #2B5CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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