#2C5AA3#2C5AA3

#2C5AA3 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 47.5% C 0.128 H 259.3°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#2C5AA3
RGBrgb(44, 90, 163)
HSLhsl(217, 57%, 41%)
HSVhsv(217, 73%, 64%)
CMYKcmyk(73%, 44.8%, 0%, 36.1%)
CIE-LABlab(38.71, 10.06, -44.06)
CIE-LCHlch(38.71, 45.20, 282.87°)
OKLaboklab(47.47% -0.0238 -0.1261)
OKLCHoklch(47.47% 0.128 259.3)
XYZxyz(11.3033, 10.4909, 36.0725)
Luminance0.1049 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5AA3 #A3752C
analogous
#2C95A3 #2C5AA3 #3A2CA3
triadic
#2C5AA3 #A32C5A #5AA32C
tetradic
#2C5AA3 #A32C95 #A3752C #2CA33A
square
#2C5AA3 #A32C95 #A3752C #2CA33A
split-complementary
#2C5AA3 #A33A2C #95A32C
monochromatic
#122543 #1F3F73 #2C5AA3 #4176CC #7199D9

Accessibility & contrast

On white

6.78
#2C5AA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#2C5AA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5AA3
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5AA3#FFFFFF#000000##FFFFFF
##2C5AA31.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3661A6
Deuteranopia (green-blind)
#1F56A2
Tritanopia (blue-blind)
#006B76
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2c5aa3;
/* rgb */ color: rgb(44, 90, 163);
/* oklch */ color: oklch(47.5% 0.128 259.3);
Tailwind
colors: {
  custom: {
    50: '#7588bf',
    500: '#2c5aa3',
    950: '#000000',
  },
}
SCSS
$custom: #2c5aa3;
$custom-light: #7588bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5aa3",
  "rgb": {
    "r": 44,
    "g": 90,
    "b": 163
  },
  "hsl": {
    "h": 216.807,
    "s": 57.488,
    "l": 40.588
  },
  "oklch": {
    "l": 0.4747,
    "c": 0.12832,
    "h": 259.3
  },
  "luminance": 0.10492
}

Semantic roles & 50–950 ramp

primary
#2C5AA3
secondary
#C09F6B
accent
#A547E1
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2C5AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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