#2C5DA4#2C5DA4

#2C5DA4 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.2% C 0.126 H 257.9°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#2C5DA4
RGBrgb(44, 93, 164)
HSLhsl(216, 58%, 41%)
HSVhsv(216, 73%, 64%)
CMYKcmyk(73.2%, 43.3%, 0%, 35.7%)
CIE-LABlab(39.65, 8.50, -43.15)
CIE-LCHlch(39.65, 43.98, 281.14°)
OKLaboklab(48.22% -0.0264 -0.1234)
OKLCHoklch(48.22% 0.126 257.9)
XYZxyz(11.6515, 11.0432, 36.6323)
Luminance0.1105 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5DA4 #A4732C
analogous
#2C99A4 #2C5DA4 #372CA4
triadic
#2C5DA4 #A42C5D #5DA42C
tetradic
#2C5DA4 #A42C99 #A4732C #2CA437
square
#2C5DA4 #A42C99 #A4732C #2CA437
split-complementary
#2C5DA4 #A4372C #99A42C
monochromatic
#122643 #1F4274 #2C5DA4 #417ACC #719CD9

Accessibility & contrast

On white

6.54
#2C5DA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#2C5DA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5DA4
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5DA4#FFFFFF#000000##FFFFFF
##2C5DA41.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A63A7
Deuteranopia (green-blind)
#2558A3
Tritanopia (blue-blind)
#006E78
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2c5da4;
/* rgb */ color: rgb(44, 93, 164);
/* oklch */ color: oklch(48.2% 0.126 257.9);
Tailwind
colors: {
  custom: {
    50: '#758abf',
    500: '#2c5da4',
    950: '#000000',
  },
}
SCSS
$custom: #2c5da4;
$custom-light: #758abf;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5da4",
  "rgb": {
    "r": 44,
    "g": 93,
    "b": 164
  },
  "hsl": {
    "h": 215.5,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.48219,
    "c": 0.12615,
    "h": 257.9
  },
  "luminance": 0.11045
}

Semantic roles & 50–950 ramp

primary
#2C5DA4
secondary
#C09E6B
accent
#A247E1
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2C5DA4

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

Preview Lab → · Contrast checker → · Palette generator →

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