#2C5DA2#2C5DA2

#2C5DA2 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.1% C 0.123 H 257.4°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#2C5DA2
RGBrgb(44, 93, 162)
HSLhsl(215, 57%, 40%)
HSVhsv(215, 73%, 64%)
CMYKcmyk(72.8%, 42.6%, 0%, 36.5%)
CIE-LABlab(39.53, 7.74, -42.15)
CIE-LCHlch(39.53, 42.85, 280.40°)
OKLaboklab(48.09% -0.0268 -0.1204)
OKLCHoklch(48.09% 0.123 257.4)
XYZxyz(11.4723, 10.9716, 35.6885)
Luminance0.1097 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5DA2 #A2712C
analogous
#2C98A2 #2C5DA2 #362CA2
triadic
#2C5DA2 #A22C5D #5DA22C
tetradic
#2C5DA2 #A22C98 #A2712C #2CA236
square
#2C5DA2 #A22C98 #A2712C #2CA236
split-complementary
#2C5DA2 #A2362C #98A22C
monochromatic
#122642 #1F4172 #2C5DA2 #407ACB #709BD8

Accessibility & contrast

On white

6.57
#2C5DA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#2C5DA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5DA2
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5DA2#FFFFFF#000000##FFFFFF
##2C5DA21.006.573.196.57
#FFFFFF6.571.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C63A5
Deuteranopia (green-blind)
#2858A1
Tritanopia (blue-blind)
#006D77
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2c5da2;
/* rgb */ color: rgb(44, 93, 162);
/* oklch */ color: oklch(48.1% 0.123 257.4);
Tailwind
colors: {
  custom: {
    50: '#748abe',
    500: '#2c5da2',
    950: '#000000',
  },
}
SCSS
$custom: #2c5da2;
$custom-light: #748abe;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5da2",
  "rgb": {
    "r": 44,
    "g": 93,
    "b": 162
  },
  "hsl": {
    "h": 215.085,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.48087,
    "c": 0.12338,
    "h": 257.4
  },
  "luminance": 0.10973
}

Semantic roles & 50–950 ramp

primary
#2C5DA2
secondary
#BF9C6A
accent
#A147E1
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2C5DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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