#2C5DA7#2C5DA7

#2C5DA7 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 48.4% C 0.130 H 258.6°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#2C5DA7
RGBrgb(44, 93, 167)
HSLhsl(216, 58%, 41%)
HSVhsv(216, 74%, 65%)
CMYKcmyk(73.7%, 44.3%, 0%, 34.5%)
CIE-LABlab(39.84, 9.64, -44.63)
CIE-LCHlch(39.84, 45.66, 282.18°)
OKLaboklab(48.42% -0.0258 -0.1277)
OKLCHoklch(48.42% 0.13 258.6)
XYZxyz(11.9256, 11.1529, 38.0759)
Luminance0.1115 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5DA7 #A7762C
analogous
#2C9BA7 #2C5DA7 #392CA7
triadic
#2C5DA7 #A72C5D #5DA72C
tetradic
#2C5DA7 #A72C9B #A7762C #2CA739
square
#2C5DA7 #A72C9B #A7762C #2CA739
split-complementary
#2C5DA7 #A7392C #9BA72C
monochromatic
#122746 #1F4277 #2C5DA7 #437ACD #739CDA

Accessibility & contrast

On white

6.50
#2C5DA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#2C5DA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5DA7
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5DA7#FFFFFF#000000##FFFFFF
##2C5DA71.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3864AA
Deuteranopia (green-blind)
#2159A6
Tritanopia (blue-blind)
#006E7A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2c5da7;
/* rgb */ color: rgb(44, 93, 167);
/* oklch */ color: oklch(48.4% 0.130 258.6);
Tailwind
colors: {
  custom: {
    50: '#758ac1',
    500: '#2c5da7',
    950: '#000000',
  },
}
SCSS
$custom: #2c5da7;
$custom-light: #758ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5da7",
  "rgb": {
    "r": 44,
    "g": 93,
    "b": 167
  },
  "hsl": {
    "h": 216.098,
    "s": 58.294,
    "l": 41.373
  },
  "oklch": {
    "l": 0.48421,
    "c": 0.13031,
    "h": 258.6
  },
  "luminance": 0.11154
}

Semantic roles & 50–950 ramp

primary
#2C5DA7
secondary
#C2A06D
accent
#A446E2
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #2C5DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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