#2C4BA3#2C4BA3

#2C4BA3 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.2% C 0.147 H 265.9°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#2C4BA3
RGBrgb(44, 75, 163)
HSLhsl(224, 57%, 41%)
HSVhsv(224, 73%, 64%)
CMYKcmyk(73%, 54%, 0%, 36.1%)
CIE-LABlab(34.42, 20.00, -50.97)
CIE-LCHlch(34.42, 54.76, 291.42°)
OKLaboklab(44.19% -0.0105 -0.1467)
OKLCHoklch(44.19% 0.147 265.9)
XYZxyz(10.1633, 8.2109, 35.6925)
Luminance0.0821 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4BA3 #A3842C
analogous
#2C86A3 #2C4BA3 #492CA3
triadic
#2C4BA3 #A32C4B #4BA32C
tetradic
#2C4BA3 #A32C86 #A3842C #2CA349
square
#2C4BA3 #A32C86 #A3842C #2CA349
split-complementary
#2C4BA3 #A3492C #86A32C
monochromatic
#121F43 #1F3573 #2C4BA3 #4165CC #718CD9

Accessibility & contrast

On white

7.95
#2C4BA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#2C4BA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4BA3
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4BA3#FFFFFF#000000##FFFFFF
##2C4BA31.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0957A6
Deuteranopia (green-blind)
#004CA1
Tritanopia (blue-blind)
#00606F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2c4ba3;
/* rgb */ color: rgb(44, 75, 163);
/* oklch */ color: oklch(44.2% 0.147 265.9);
Tailwind
colors: {
  custom: {
    50: '#757cbf',
    500: '#2c4ba3',
    950: '#000000',
  },
}
SCSS
$custom: #2c4ba3;
$custom-light: #757cbf;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4ba3",
  "rgb": {
    "r": 44,
    "g": 75,
    "b": 163
  },
  "hsl": {
    "h": 224.37,
    "s": 57.488,
    "l": 40.588
  },
  "oklch": {
    "l": 0.44189,
    "c": 0.14707,
    "h": 265.9
  },
  "luminance": 0.08212
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C4BA3

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

Preview Lab → · Contrast checker → · Palette generator →

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