#2C5BBB#2C5BBB

#2C5BBB is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.4% C 0.160 H 262.5°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#2C5BBB
RGBrgb(44, 91, 187)
HSLhsl(220, 62%, 45%)
HSVhsv(220, 76%, 73%)
CMYKcmyk(76.5%, 51.3%, 0%, 26.7%)
CIE-LABlab(40.58, 18.58, -55.21)
CIE-LCHlch(40.58, 58.25, 288.60°)
OKLaboklab(49.41% -0.0209 -0.1589)
OKLCHoklch(49.41% 0.16 262.5)
XYZxyz(13.7462, 11.6039, 48.5194)
Luminance0.1161 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5BBB #BB8C2C
analogous
#2CA2BB #2C5BBB #452CBB
triadic
#2C5BBB #BB2C5B #5BBB2C
tetradic
#2C5BBB #BB2CA2 #BB8C2C #2CBB45
square
#2C5BBB #BB2CA2 #BB8C2C #2CBB45
split-complementary
#2C5BBB #BB452C #A2BB2C
monochromatic
#152B58 #204389 #2C5BBB #4F7BD6 #80A0E1

Accessibility & contrast

On white

6.32
#2C5BBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#2C5BBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5BBB
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5BBB#FFFFFF#000000##FFFFFF
##2C5BBB1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D67BE
Deuteranopia (green-blind)
#0059B9
Tritanopia (blue-blind)
#007282
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2c5bbb;
/* rgb */ color: rgb(44, 91, 187);
/* oklch */ color: oklch(49.4% 0.160 262.5);
Tailwind
colors: {
  custom: {
    50: '#7a88d0',
    500: '#2c5bbb',
    950: '#000000',
  },
}
SCSS
$custom: #2c5bbb;
$custom-light: #7a88d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5bbb",
  "rgb": {
    "r": 44,
    "g": 91,
    "b": 187
  },
  "hsl": {
    "h": 220.28,
    "s": 61.905,
    "l": 45.294
  },
  "oklch": {
    "l": 0.49412,
    "c": 0.16026,
    "h": 262.5
  },
  "luminance": 0.11605
}

Semantic roles & 50–950 ramp

primary
#2C5BBB
secondary
#CAAF79
accent
#B043E5
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #2C5BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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