#2C5ABC#2C5ABC

#2C5ABC is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.3% C 0.163 H 262.9°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#2C5ABC
RGBrgb(44, 90, 188)
HSLhsl(221, 62%, 45%)
HSVhsv(221, 77%, 74%)
CMYKcmyk(76.6%, 52.1%, 0%, 26.3%)
CIE-LABlab(40.37, 19.61, -56.13)
CIE-LCHlch(40.37, 59.46, 289.26°)
OKLaboklab(49.28% -0.02 -0.1616)
OKLCHoklch(49.28% 0.163 262.9)
XYZxyz(13.7687, 11.4771, 49.0568)
Luminance0.1148 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5ABC #BC8E2C
analogous
#2CA2BC #2C5ABC #462CBC
triadic
#2C5ABC #BC2C5A #5ABC2C
tetradic
#2C5ABC #BC2CA2 #BC8E2C #2CBC46
square
#2C5ABC #BC2CA2 #BC8E2C #2CBC46
split-complementary
#2C5ABC #BC462C #A2BC2C
monochromatic
#152B59 #20428A #2C5ABC #4F7AD6 #81A0E1

Accessibility & contrast

On white

6.37
#2C5ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#2C5ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5ABC
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5ABC#FFFFFF#000000##FFFFFF
##2C5ABC1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1766BF
Deuteranopia (green-blind)
#0059BA
Tritanopia (blue-blind)
#007282
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2c5abc;
/* rgb */ color: rgb(44, 90, 188);
/* oklch */ color: oklch(49.3% 0.163 262.9);
Tailwind
colors: {
  custom: {
    50: '#7a88d1',
    500: '#2c5abc',
    950: '#000000',
  },
}
SCSS
$custom: #2c5abc;
$custom-light: #7a88d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5abc",
  "rgb": {
    "r": 44,
    "g": 90,
    "b": 188
  },
  "hsl": {
    "h": 220.833,
    "s": 62.069,
    "l": 45.49
  },
  "oklch": {
    "l": 0.49276,
    "c": 0.16285,
    "h": 262.9
  },
  "luminance": 0.11479
}

Semantic roles & 50–950 ramp

primary
#2C5ABC
secondary
#CAB179
accent
#B143E5
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #2C5ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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