#2C4BA6#2C4BA6

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

Color values

HEX#2C4BA6
RGBrgb(44, 75, 166)
HSLhsl(225, 58%, 41%)
HSVhsv(225, 73%, 65%)
CMYKcmyk(73.5%, 54.8%, 0%, 34.9%)
CIE-LABlab(34.64, 21.14, -52.41)
CIE-LCHlch(34.64, 56.52, 291.97°)
OKLaboklab(44.43% -0.0102 -0.1509)
OKLCHoklch(44.43% 0.151 266.1)
XYZxyz(10.4353, 8.3197, 37.1249)
Luminance0.0832 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4BA6 #A6872C
analogous
#2C88A6 #2C4BA6 #4A2CA6
triadic
#2C4BA6 #A62C4B #4BA62C
tetradic
#2C4BA6 #A62C88 #A6872C #2CA64A
square
#2C4BA6 #A62C88 #A6872C #2CA64A
split-complementary
#2C4BA6 #A64A2C #88A62C
monochromatic
#121F45 #1F3576 #2C4BA6 #4265CD #738DDA

Accessibility & contrast

On white

7.88
#2C4BA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#2C4BA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4BA6
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4BA6#FFFFFF#000000##FFFFFF
##2C4BA61.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c4ba6;
/* rgb */ color: rgb(44, 75, 166);
/* oklch */ color: oklch(44.4% 0.151 266.1);
Tailwind
colors: {
  custom: {
    50: '#767cc1',
    500: '#2c4ba6',
    950: '#000000',
  },
}
SCSS
$custom: #2c4ba6;
$custom-light: #767cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4ba6",
  "rgb": {
    "r": 44,
    "g": 75,
    "b": 166
  },
  "hsl": {
    "h": 224.754,
    "s": 58.095,
    "l": 41.176
  },
  "oklch": {
    "l": 0.44426,
    "c": 0.15128,
    "h": 266.1
  },
  "luminance": 0.08321
}

Semantic roles & 50–950 ramp

primary
#2C4BA6
secondary
#C1AC6D
accent
#BA46E1
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2C4BA6

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

Preview Lab → · Contrast checker → · Palette generator →

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