#2C4BAA#2C4BAA

#2C4BAA is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.7% C 0.157 H 266.4°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#2C4BAA
RGBrgb(44, 75, 170)
HSLhsl(225, 59%, 42%)
HSVhsv(225, 74%, 67%)
CMYKcmyk(74.1%, 55.9%, 0%, 33.3%)
CIE-LABlab(34.94, 22.66, -54.31)
CIE-LCHlch(34.94, 58.85, 292.65°)
OKLaboklab(44.75% -0.0099 -0.1565)
OKLCHoklch(44.75% 0.157 266.4)
XYZxyz(10.8079, 8.4687, 39.0874)
Luminance0.0847 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4BAA #AA8B2C
analogous
#2C8AAA #2C4BAA #4C2CAA
triadic
#2C4BAA #AA2C4B #4BAA2C
tetradic
#2C4BAA #AA2C8A #AA8B2C #2CAA4C
square
#2C4BAA #AA2C8A #AA8B2C #2CAA4C
split-complementary
#2C4BAA #AA4C2C #8AAA2C
monochromatic
#132049 #1F3679 #2C4BAA #4466CF #758EDB

Accessibility & contrast

On white

7.80
#2C4BAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#2C4BAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4BAA
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4BAA#FFFFFF#000000##FFFFFF
##2C4BAA1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AD
Deuteranopia (green-blind)
#004DA8
Tritanopia (blue-blind)
#006273
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2c4baa;
/* rgb */ color: rgb(44, 75, 170);
/* oklch */ color: oklch(44.7% 0.157 266.4);
Tailwind
colors: {
  custom: {
    50: '#777cc4',
    500: '#2c4baa',
    950: '#000000',
  },
}
SCSS
$custom: #2c4baa;
$custom-light: #777cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4baa",
  "rgb": {
    "r": 44,
    "g": 75,
    "b": 170
  },
  "hsl": {
    "h": 225.238,
    "s": 58.879,
    "l": 41.961
  },
  "oklch": {
    "l": 0.44748,
    "c": 0.15684,
    "h": 266.4
  },
  "luminance": 0.0847
}

Semantic roles & 50–950 ramp

primary
#2C4BAA
secondary
#C3AE6F
accent
#BC46E2
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2C4BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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