#2B5CB4#2B5CB4

#2B5CB4 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.1% C 0.150 H 261.0°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#2B5CB4
RGBrgb(43, 92, 180)
HSLhsl(219, 61%, 44%)
HSVhsv(219, 76%, 71%)
CMYKcmyk(76.1%, 48.9%, 0%, 29.4%)
CIE-LABlab(40.35, 15.13, -51.49)
CIE-LCHlch(40.35, 53.66, 286.37°)
OKLaboklab(49.07% -0.0234 -0.1479)
OKLCHoklch(49.07% 0.15 261)
XYZxyz(13.0587, 11.4617, 44.6953)
Luminance0.1146 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5CB4 #B4832B
analogous
#2BA0B4 #2B5CB4 #3E2BB4
triadic
#2B5CB4 #B42B5C #5CB42B
tetradic
#2B5CB4 #B42BA0 #B4832B #2BB43E
square
#2B5CB4 #B42BA0 #B4832B #2BB43E
split-complementary
#2B5CB4 #B43E2B #A0B42B
monochromatic
#132A51 #1F4383 #2B5CB4 #497AD3 #7A9EDF

Accessibility & contrast

On white

6.38
#2B5CB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#2B5CB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5CB4
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5CB4#FFFFFF#000000##FFFFFF
##2B5CB41.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A66B7
Deuteranopia (green-blind)
#0059B2
Tritanopia (blue-blind)
#00717F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2b5cb4;
/* rgb */ color: rgb(43, 92, 180);
/* oklch */ color: oklch(49.1% 0.150 261.0);
Tailwind
colors: {
  custom: {
    50: '#7889cb',
    500: '#2b5cb4',
    950: '#000000',
  },
}
SCSS
$custom: #2b5cb4;
$custom-light: #7889cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5cb4",
  "rgb": {
    "r": 43,
    "g": 92,
    "b": 180
  },
  "hsl": {
    "h": 218.54,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.49072,
    "c": 0.14977,
    "h": 261
  },
  "luminance": 0.11463
}

Semantic roles & 50–950 ramp

primary
#2B5CB4
secondary
#C7A973
accent
#AB43E5
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2B5CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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