#2C5BAA#2C5BAA

#2C5BAA is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.2% C 0.137 H 260.2°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#2C5BAA
RGBrgb(44, 91, 170)
HSLhsl(218, 59%, 42%)
HSVhsv(218, 74%, 67%)
CMYKcmyk(74.1%, 46.5%, 0%, 33.3%)
CIE-LABlab(39.44, 12.08, -47.04)
CIE-LCHlch(39.44, 48.57, 284.40°)
OKLaboklab(48.18% -0.0234 -0.1348)
OKLCHoklch(48.18% 0.137 260.2)
XYZxyz(12.0329, 10.9186, 39.4958)
Luminance0.1092 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5BAA #AA7B2C
analogous
#2C9AAA #2C5BAA #3C2CAA
triadic
#2C5BAA #AA2C5B #5BAA2C
tetradic
#2C5BAA #AA2C9A #AA7B2C #2CAA3C
square
#2C5BAA #AA2C9A #AA7B2C #2CAA3C
split-complementary
#2C5BAA #AA3C2C #9AAA2C
monochromatic
#132749 #1F4179 #2C5BAA #4478CF #759BDB

Accessibility & contrast

On white

6.60
#2C5BAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#2C5BAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5BAA
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5BAA#FFFFFF#000000##FFFFFF
##2C5BAA1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3263AD
Deuteranopia (green-blind)
#1558A8
Tritanopia (blue-blind)
#006E7A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2c5baa;
/* rgb */ color: rgb(44, 91, 170);
/* oklch */ color: oklch(48.2% 0.137 260.2);
Tailwind
colors: {
  custom: {
    50: '#7688c4',
    500: '#2c5baa',
    950: '#000000',
  },
}
SCSS
$custom: #2c5baa;
$custom-light: #7688c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5baa",
  "rgb": {
    "r": 44,
    "g": 91,
    "b": 170
  },
  "hsl": {
    "h": 217.619,
    "s": 58.879,
    "l": 41.961
  },
  "oklch": {
    "l": 0.48178,
    "c": 0.13687,
    "h": 260.2
  },
  "luminance": 0.1092
}

Semantic roles & 50–950 ramp

primary
#2C5BAA
secondary
#C3A46F
accent
#A846E2
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2C5BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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