#2C4AA3#2C4AA3

#2C4AA3 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.0% C 0.148 H 266.3°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#2C4AA3
RGBrgb(44, 74, 163)
HSLhsl(225, 57%, 41%)
HSVhsv(225, 73%, 64%)
CMYKcmyk(73%, 54.6%, 0%, 36.1%)
CIE-LABlab(34.14, 20.67, -51.42)
CIE-LCHlch(34.14, 55.42, 291.90°)
OKLaboklab(43.98% -0.0096 -0.148)
OKLCHoklch(43.98% 0.148 266.3)
XYZxyz(10.0960, 8.0763, 35.6700)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4AA3 #A3852C
analogous
#2C85A3 #2C4AA3 #492CA3
triadic
#2C4AA3 #A32C4A #4AA32C
tetradic
#2C4AA3 #A32C85 #A3852C #2CA349
square
#2C4AA3 #A32C85 #A3852C #2CA349
split-complementary
#2C4AA3 #A3492C #85A32C
monochromatic
#121E43 #1F3473 #2C4AA3 #4164CC #718BD9

Accessibility & contrast

On white

8.03
#2C4AA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#2C4AA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4AA3
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4AA3#FFFFFF#000000##FFFFFF
##2C4AA31.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0356A6
Deuteranopia (green-blind)
#004BA1
Tritanopia (blue-blind)
#00606F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2c4aa3;
/* rgb */ color: rgb(44, 74, 163);
/* oklch */ color: oklch(44.0% 0.148 266.3);
Tailwind
colors: {
  custom: {
    50: '#757cbf',
    500: '#2c4aa3',
    950: '#000000',
  },
}
SCSS
$custom: #2c4aa3;
$custom-light: #757cbf;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4aa3",
  "rgb": {
    "r": 44,
    "g": 74,
    "b": 163
  },
  "hsl": {
    "h": 224.874,
    "s": 57.488,
    "l": 40.588
  },
  "oklch": {
    "l": 0.43979,
    "c": 0.14835,
    "h": 266.3
  },
  "luminance": 0.08077
}

Semantic roles & 50–950 ramp

primary
#2C4AA3
secondary
#C0AA6B
accent
#BA47E1
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2C4AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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