#2C5AA8#2C5AA8

#2C5AA8 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 47.8% C 0.135 H 260.3°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#2C5AA8
RGBrgb(44, 90, 168)
HSLhsl(218, 58%, 42%)
HSVhsv(218, 74%, 66%)
CMYKcmyk(73.8%, 46.4%, 0%, 34.1%)
CIE-LABlab(39.03, 11.97, -46.53)
CIE-LCHlch(39.03, 48.04, 284.43°)
OKLaboklab(47.82% -0.0229 -0.1334)
OKLCHoklch(47.82% 0.135 260.3)
XYZxyz(11.7602, 10.6737, 38.4786)
Luminance0.1067 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5AA8 #A87A2C
analogous
#2C98A8 #2C5AA8 #3C2CA8
triadic
#2C5AA8 #A82C5A #5AA82C
tetradic
#2C5AA8 #A82C98 #A87A2C #2CA83C
square
#2C5AA8 #A82C98 #A87A2C #2CA83C
split-complementary
#2C5AA8 #A83C2C #98A82C
monochromatic
#132647 #1F4078 #2C5AA8 #4377CE #749ADB

Accessibility & contrast

On white

6.70
#2C5AA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#2C5AA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5AA8
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5AA8#FFFFFF#000000##FFFFFF
##2C5AA81.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3162AB
Deuteranopia (green-blind)
#1657A6
Tritanopia (blue-blind)
#006C79
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2c5aa8;
/* rgb */ color: rgb(44, 90, 168);
/* oklch */ color: oklch(47.8% 0.135 260.3);
Tailwind
colors: {
  custom: {
    50: '#7688c2',
    500: '#2c5aa8',
    950: '#000000',
  },
}
SCSS
$custom: #2c5aa8;
$custom-light: #7688c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5aa8",
  "rgb": {
    "r": 44,
    "g": 90,
    "b": 168
  },
  "hsl": {
    "h": 217.742,
    "s": 58.491,
    "l": 41.569
  },
  "oklch": {
    "l": 0.47815,
    "c": 0.13531,
    "h": 260.3
  },
  "luminance": 0.10675
}

Semantic roles & 50–950 ramp

primary
#2C5AA8
secondary
#C2A36E
accent
#A846E2
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #2C5AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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