#2C5AA9#2C5AA9

#2C5AA9 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 47.9% C 0.137 H 260.4°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#2C5AA9
RGBrgb(44, 90, 169)
HSLhsl(218, 59%, 42%)
HSVhsv(218, 74%, 66%)
CMYKcmyk(74%, 46.7%, 0%, 33.7%)
CIE-LABlab(39.09, 12.35, -47.02)
CIE-LCHlch(39.09, 48.61, 284.72°)
OKLaboklab(47.89% -0.0227 -0.1348)
OKLCHoklch(47.89% 0.137 260.4)
XYZxyz(11.8537, 10.7111, 38.9711)
Luminance0.1071 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5AA9 #A97B2C
analogous
#2C99A9 #2C5AA9 #3D2CA9
triadic
#2C5AA9 #A92C5A #5AA92C
tetradic
#2C5AA9 #A92C99 #A97B2C #2CA93D
square
#2C5AA9 #A92C99 #A97B2C #2CA93D
split-complementary
#2C5AA9 #A93D2C #99A92C
monochromatic
#132648 #1F4078 #2C5AA9 #4477CE #749ADB

Accessibility & contrast

On white

6.68
#2C5AA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2C5AA9
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5AA9#FFFFFF#000000##FFFFFF
##2C5AA91.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3162AC
Deuteranopia (green-blind)
#1457A7
Tritanopia (blue-blind)
#006D79
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2c5aa9;
/* rgb */ color: rgb(44, 90, 169);
/* oklch */ color: oklch(47.9% 0.137 260.4);
Tailwind
colors: {
  custom: {
    50: '#7688c3',
    500: '#2c5aa9',
    950: '#000000',
  },
}
SCSS
$custom: #2c5aa9;
$custom-light: #7688c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5aa9",
  "rgb": {
    "r": 44,
    "g": 90,
    "b": 169
  },
  "hsl": {
    "h": 217.92,
    "s": 58.685,
    "l": 41.765
  },
  "oklch": {
    "l": 0.47885,
    "c": 0.1367,
    "h": 260.4
  },
  "luminance": 0.10712
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C5AA9

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

Preview Lab → · Contrast checker → · Palette generator →

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