#2C4CAA#2C4CAA

#2C4CAA is a dark, vivid blue. Relative luminance 0.086; OKLCH L 45.0% C 0.156 H 266.0°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#2C4CAA
RGBrgb(44, 76, 170)
HSLhsl(225, 59%, 42%)
HSVhsv(225, 74%, 67%)
CMYKcmyk(74.1%, 55.3%, 0%, 33.3%)
CIE-LABlab(35.21, 22.00, -53.87)
CIE-LCHlch(35.21, 58.19, 292.21°)
OKLaboklab(44.95% -0.0107 -0.1552)
OKLCHoklch(44.95% 0.156 266)
XYZxyz(10.8763, 8.6055, 39.1102)
Luminance0.0861 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4CAA #AA8A2C
analogous
#2C8BAA #2C4CAA #4B2CAA
triadic
#2C4CAA #AA2C4C #4CAA2C
tetradic
#2C4CAA #AA2C8B #AA8A2C #2CAA4B
square
#2C4CAA #AA2C8B #AA8A2C #2CAA4B
split-complementary
#2C4CAA #AA4B2C #8BAA2C
monochromatic
#132149 #1F3679 #2C4CAA #4468CF #758FDB

Accessibility & contrast

On white

7.72
#2C4CAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#2C4CAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4CAA
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4CAA#FFFFFF#000000##FFFFFF
##2C4CAA1.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AD
Deuteranopia (green-blind)
#004DA8
Tritanopia (blue-blind)
#006373
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2c4caa;
/* rgb */ color: rgb(44, 76, 170);
/* oklch */ color: oklch(45.0% 0.156 266.0);
Tailwind
colors: {
  custom: {
    50: '#777dc4',
    500: '#2c4caa',
    950: '#000000',
  },
}
SCSS
$custom: #2c4caa;
$custom-light: #777dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4caa",
  "rgb": {
    "r": 44,
    "g": 76,
    "b": 170
  },
  "hsl": {
    "h": 224.762,
    "s": 58.879,
    "l": 41.961
  },
  "oklch": {
    "l": 0.44953,
    "c": 0.15558,
    "h": 266
  },
  "luminance": 0.08607
}

Semantic roles & 50–950 ramp

primary
#2C4CAA
secondary
#C3AE6F
accent
#BA46E2
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2C4CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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