#2C4BAD#2C4BAD

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

Color values

HEX#2C4BAD
RGBrgb(44, 75, 173)
HSLhsl(226, 59%, 43%)
HSVhsv(226, 75%, 68%)
CMYKcmyk(74.6%, 56.6%, 0%, 32.2%)
CIE-LABlab(35.17, 23.80, -55.73)
CIE-LCHlch(35.17, 60.60, 293.13°)
OKLaboklab(44.99% -0.0098 -0.1607)
OKLCHoklch(44.99% 0.161 266.5)
XYZxyz(11.0950, 8.5836, 40.5991)
Luminance0.0858 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4BAD #AD8E2C
analogous
#2C8CAD #2C4BAD #4D2CAD
triadic
#2C4BAD #AD2C4B #4BAD2C
tetradic
#2C4BAD #AD2C8C #AD8E2C #2CAD4D
square
#2C4BAD #AD2C8C #AD8E2C #2CAD4D
split-complementary
#2C4BAD #AD4D2C #8CAD2C
monochromatic
#13214B #20367C #2C4BAD #4667D0 #778FDC

Accessibility & contrast

On white

7.73
#2C4BAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C4BAD
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4BAD#FFFFFF#000000##FFFFFF
##2C4BAD1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c4bad;
/* rgb */ color: rgb(44, 75, 173);
/* oklch */ color: oklch(45.0% 0.161 266.5);
Tailwind
colors: {
  custom: {
    50: '#787cc6',
    500: '#2c4bad',
    950: '#000000',
  },
}
SCSS
$custom: #2c4bad;
$custom-light: #787cc6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4bad",
  "rgb": {
    "r": 44,
    "g": 75,
    "b": 173
  },
  "hsl": {
    "h": 225.581,
    "s": 59.447,
    "l": 42.549
  },
  "oklch": {
    "l": 0.44993,
    "c": 0.16098,
    "h": 266.5
  },
  "luminance": 0.08585
}

Semantic roles & 50–950 ramp

primary
#2C4BAD
secondary
#C4B071
accent
#BD45E3
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2C4BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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