#2C5DBB#2C5DBB

#2C5DBB is a mid, vivid blue. Relative luminance 0.120; OKLCH L 49.8% C 0.158 H 261.8°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#2C5DBB
RGBrgb(44, 93, 187)
HSLhsl(219, 62%, 45%)
HSVhsv(219, 76%, 73%)
CMYKcmyk(76.5%, 50.3%, 0%, 26.7%)
CIE-LABlab(41.14, 17.27, -54.31)
CIE-LCHlch(41.14, 56.99, 287.64°)
OKLaboklab(49.84% -0.0225 -0.1562)
OKLCHoklch(49.84% 0.158 261.8)
XYZxyz(13.9195, 11.9504, 48.5771)
Luminance0.1195 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5DBB #BB8A2C
analogous
#2CA4BB #2C5DBB #432CBB
triadic
#2C5DBB #BB2C5D #5DBB2C
tetradic
#2C5DBB #BB2CA4 #BB8A2C #2CBB43
square
#2C5DBB #BB2CA4 #BB8A2C #2CBB43
split-complementary
#2C5DBB #BB432C #A4BB2C
monochromatic
#152C58 #204489 #2C5DBB #4F7DD6 #80A1E1

Accessibility & contrast

On white

6.19
#2C5DBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#2C5DBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5DBB
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5DBB#FFFFFF#000000##FFFFFF
##2C5DBB1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2468BE
Deuteranopia (green-blind)
#005BB9
Tritanopia (blue-blind)
#007483
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2c5dbb;
/* rgb */ color: rgb(44, 93, 187);
/* oklch */ color: oklch(49.8% 0.158 261.8);
Tailwind
colors: {
  custom: {
    50: '#7a8ad0',
    500: '#2c5dbb',
    950: '#000000',
  },
}
SCSS
$custom: #2c5dbb;
$custom-light: #7a8ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5dbb",
  "rgb": {
    "r": 44,
    "g": 93,
    "b": 187
  },
  "hsl": {
    "h": 219.441,
    "s": 61.905,
    "l": 45.294
  },
  "oklch": {
    "l": 0.49837,
    "c": 0.15782,
    "h": 261.8
  },
  "luminance": 0.11952
}

Semantic roles & 50–950 ramp

primary
#2C5DBB
secondary
#CAAE79
accent
#AD43E5
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #2C5DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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