#2C4BA4#2C4BA4

#2C4BA4 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.3% C 0.148 H 266.0°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#2C4BA4
RGBrgb(44, 75, 164)
HSLhsl(225, 58%, 41%)
HSVhsv(225, 73%, 64%)
CMYKcmyk(73.2%, 54.3%, 0%, 35.7%)
CIE-LABlab(34.49, 20.38, -51.45)
CIE-LCHlch(34.49, 55.34, 291.61°)
OKLaboklab(44.27% -0.0104 -0.1481)
OKLCHoklch(44.27% 0.148 266)
XYZxyz(10.2533, 8.2469, 36.1662)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4BA4 #A4852C
analogous
#2C87A4 #2C4BA4 #492CA4
triadic
#2C4BA4 #A42C4B #4BA42C
tetradic
#2C4BA4 #A42C87 #A4852C #2CA449
square
#2C4BA4 #A42C87 #A4852C #2CA449
split-complementary
#2C4BA4 #A4492C #87A42C
monochromatic
#121F43 #1F3574 #2C4BA4 #4165CC #718CD9

Accessibility & contrast

On white

7.93
#2C4BA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C4BA4
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4BA4#FFFFFF#000000##FFFFFF
##2C4BA41.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0657A7
Deuteranopia (green-blind)
#004CA2
Tritanopia (blue-blind)
#006170
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2c4ba4;
/* rgb */ color: rgb(44, 75, 164);
/* oklch */ color: oklch(44.3% 0.148 266.0);
Tailwind
colors: {
  custom: {
    50: '#767cc0',
    500: '#2c4ba4',
    950: '#000000',
  },
}
SCSS
$custom: #2c4ba4;
$custom-light: #767cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4ba4",
  "rgb": {
    "r": 44,
    "g": 75,
    "b": 164
  },
  "hsl": {
    "h": 224.5,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.44268,
    "c": 0.14847,
    "h": 266
  },
  "luminance": 0.08248
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C4BA4

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

Preview Lab → · Contrast checker → · Palette generator →

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