#2C4AA8#2C4AA8

#2C4AA8 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.4% C 0.155 H 266.6°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#2C4AA8
RGBrgb(44, 74, 168)
HSLhsl(225, 58%, 42%)
HSVhsv(225, 74%, 66%)
CMYKcmyk(73.8%, 56%, 0%, 34.1%)
CIE-LABlab(34.52, 22.57, -53.81)
CIE-LCHlch(34.52, 58.35, 292.76°)
OKLaboklab(44.38% -0.0093 -0.155)
OKLCHoklch(44.38% 0.155 266.6)
XYZxyz(10.5529, 8.2591, 38.0762)
Luminance0.0826 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4AA8 #A88A2C
analogous
#2C88A8 #2C4AA8 #4C2CA8
triadic
#2C4AA8 #A82C4A #4AA82C
tetradic
#2C4AA8 #A82C88 #A88A2C #2CA84C
square
#2C4AA8 #A82C88 #A88A2C #2CA84C
split-complementary
#2C4AA8 #A84C2C #88A82C
monochromatic
#131F47 #1F3578 #2C4AA8 #4365CE #748DDB

Accessibility & contrast

On white

7.92
#2C4AA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#2C4AA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4AA8
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4AA8#FFFFFF#000000##FFFFFF
##2C4AA81.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AB
Deuteranopia (green-blind)
#004CA6
Tritanopia (blue-blind)
#006171
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2c4aa8;
/* rgb */ color: rgb(44, 74, 168);
/* oklch */ color: oklch(44.4% 0.155 266.6);
Tailwind
colors: {
  custom: {
    50: '#777cc3',
    500: '#2c4aa8',
    950: '#000000',
  },
}
SCSS
$custom: #2c4aa8;
$custom-light: #777cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4aa8",
  "rgb": {
    "r": 44,
    "g": 74,
    "b": 168
  },
  "hsl": {
    "h": 225.484,
    "s": 58.491,
    "l": 41.569
  },
  "oklch": {
    "l": 0.44381,
    "c": 0.15533,
    "h": 266.6
  },
  "luminance": 0.0826
}

Semantic roles & 50–950 ramp

primary
#2C4AA8
secondary
#C2AE6E
accent
#BC46E2
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2C4AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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