#2C4BAC#2C4BAC

#2C4BAC is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.9% C 0.160 H 266.5°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#2C4BAC
RGBrgb(44, 75, 172)
HSLhsl(225, 59%, 42%)
HSVhsv(225, 74%, 67%)
CMYKcmyk(74.4%, 56.4%, 0%, 32.5%)
CIE-LABlab(35.09, 23.42, -55.26)
CIE-LCHlch(35.09, 60.02, 292.97°)
OKLaboklab(44.91% -0.0098 -0.1593)
OKLCHoklch(44.91% 0.16 266.5)
XYZxyz(10.9986, 8.5450, 40.0914)
Luminance0.0855 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4BAC #AC8D2C
analogous
#2C8BAC #2C4BAC #4D2CAC
triadic
#2C4BAC #AC2C4B #4BAC2C
tetradic
#2C4BAC #AC2C8B #AC8D2C #2CAC4D
square
#2C4BAC #AC2C8B #AC8D2C #2CAC4D
split-complementary
#2C4BAC #AC4D2C #8BAC2C
monochromatic
#13204B #20367B #2C4BAC #4667D0 #768FDC

Accessibility & contrast

On white

7.75
#2C4BAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#2C4BAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4BAC
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4BAC#FFFFFF#000000##FFFFFF
##2C4BAC1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AF
Deuteranopia (green-blind)
#004DAA
Tritanopia (blue-blind)
#006374
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2c4bac;
/* rgb */ color: rgb(44, 75, 172);
/* oklch */ color: oklch(44.9% 0.160 266.5);
Tailwind
colors: {
  custom: {
    50: '#777cc5',
    500: '#2c4bac',
    950: '#000000',
  },
}
SCSS
$custom: #2c4bac;
$custom-light: #777cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4bac",
  "rgb": {
    "r": 44,
    "g": 75,
    "b": 172
  },
  "hsl": {
    "h": 225.469,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.44911,
    "c": 0.1596,
    "h": 266.5
  },
  "luminance": 0.08546
}

Semantic roles & 50–950 ramp

primary
#2C4BAC
secondary
#C4B070
accent
#BC45E2
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2C4BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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