#2C5CA9#2C5CA9

#2C5CA9 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.3% C 0.134 H 259.5°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#2C5CA9
RGBrgb(44, 92, 169)
HSLhsl(217, 59%, 42%)
HSVhsv(217, 74%, 66%)
CMYKcmyk(74%, 45.6%, 0%, 33.7%)
CIE-LABlab(39.67, 11.05, -46.09)
CIE-LCHlch(39.67, 47.39, 283.48°)
OKLaboklab(48.33% -0.0245 -0.132)
OKLCHoklch(48.33% 0.134 259.5)
XYZxyz(12.0247, 11.0530, 39.0281)
Luminance0.1105 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5CA9 #A9792C
analogous
#2C9BA9 #2C5CA9 #3B2CA9
triadic
#2C5CA9 #A92C5C #5CA92C
tetradic
#2C5CA9 #A92C9B #A9792C #2CA93B
square
#2C5CA9 #A92C9B #A9792C #2CA93B
split-complementary
#2C5CA9 #A93B2C #9BA92C
monochromatic
#132748 #1F4278 #2C5CA9 #4479CE #749CDB

Accessibility & contrast

On white

6.54
#2C5CA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#2C5CA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5CA9
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5CA9#FFFFFF#000000##FFFFFF
##2C5CA91.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3564AC
Deuteranopia (green-blind)
#1B58A7
Tritanopia (blue-blind)
#006E7A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2c5ca9;
/* rgb */ color: rgb(44, 92, 169);
/* oklch */ color: oklch(48.3% 0.134 259.5);
Tailwind
colors: {
  custom: {
    50: '#7689c3',
    500: '#2c5ca9',
    950: '#000000',
  },
}
SCSS
$custom: #2c5ca9;
$custom-light: #7689c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5ca9",
  "rgb": {
    "r": 44,
    "g": 92,
    "b": 169
  },
  "hsl": {
    "h": 216.96,
    "s": 58.685,
    "l": 41.765
  },
  "oklch": {
    "l": 0.48332,
    "c": 0.13427,
    "h": 259.5
  },
  "luminance": 0.11054
}

Semantic roles & 50–950 ramp

primary
#2C5CA9
secondary
#C3A26E
accent
#A646E2
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #2C5CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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