#2C5EAA#2C5EAA

#2C5EAA is a mid, vivid blue. Relative luminance 0.114; OKLCH L 48.9% C 0.133 H 258.7°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#2C5EAA
RGBrgb(44, 94, 170)
HSLhsl(216, 59%, 42%)
HSVhsv(216, 74%, 67%)
CMYKcmyk(74.1%, 44.7%, 0%, 33.3%)
CIE-LABlab(40.31, 10.13, -45.65)
CIE-LCHlch(40.31, 46.76, 282.51°)
OKLaboklab(48.85% -0.0261 -0.1307)
OKLCHoklch(48.85% 0.133 258.7)
XYZxyz(12.2945, 11.4418, 39.5830)
Luminance0.1144 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5EAA #AA782C
analogous
#2C9DAA #2C5EAA #392CAA
triadic
#2C5EAA #AA2C5E #5EAA2C
tetradic
#2C5EAA #AA2C9D #AA782C #2CAA39
square
#2C5EAA #AA2C9D #AA782C #2CAA39
split-complementary
#2C5EAA #AA392C #9DAA2C
monochromatic
#132849 #1F4379 #2C5EAA #447BCF #759EDB

Accessibility & contrast

On white

6.39
#2C5EAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#2C5EAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5EAA
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5EAA#FFFFFF#000000##FFFFFF
##2C5EAA1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3865AD
Deuteranopia (green-blind)
#1F5AA8
Tritanopia (blue-blind)
#00707B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2c5eaa;
/* rgb */ color: rgb(44, 94, 170);
/* oklch */ color: oklch(48.9% 0.133 258.7);
Tailwind
colors: {
  custom: {
    50: '#768bc4',
    500: '#2c5eaa',
    950: '#000000',
  },
}
SCSS
$custom: #2c5eaa;
$custom-light: #768bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5eaa",
  "rgb": {
    "r": 44,
    "g": 94,
    "b": 170
  },
  "hsl": {
    "h": 216.19,
    "s": 58.879,
    "l": 41.961
  },
  "oklch": {
    "l": 0.4885,
    "c": 0.13327,
    "h": 258.7
  },
  "luminance": 0.11443
}

Semantic roles & 50–950 ramp

primary
#2C5EAA
secondary
#C3A26F
accent
#A446E2
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2C5EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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