#2C4AAF#2C4AAF

#2C4AAF is a dark, vivid blue. Relative luminance 0.085; OKLCH L 45.0% C 0.165 H 266.9°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#2C4AAF
RGBrgb(44, 74, 175)
HSLhsl(226, 60%, 43%)
HSVhsv(226, 75%, 69%)
CMYKcmyk(74.9%, 57.7%, 0%, 31.4%)
CIE-LABlab(35.06, 25.22, -57.10)
CIE-LCHlch(35.06, 62.42, 293.83°)
OKLaboklab(44.96% -0.0089 -0.1647)
OKLCHoklch(44.96% 0.165 266.9)
XYZxyz(11.2226, 8.5270, 41.6035)
Luminance0.0853 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4AAF #AF912C
analogous
#2C8BAF #2C4AAF #502CAF
triadic
#2C4AAF #AF2C4A #4AAF2C
tetradic
#2C4AAF #AF2C8B #AF912C #2CAF50
square
#2C4AAF #AF2C8B #AF912C #2CAF50
split-complementary
#2C4AAF #AF502C #8BAF2C
monochromatic
#13214D #20357E #2C4AAF #4767D1 #788FDD

Accessibility & contrast

On white

7.76
#2C4AAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C4AAF
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4AAF#FFFFFF#000000##FFFFFF
##2C4AAF1.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B2
Deuteranopia (green-blind)
#004DAD
Tritanopia (blue-blind)
#006375
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2c4aaf;
/* rgb */ color: rgb(44, 74, 175);
/* oklch */ color: oklch(45.0% 0.165 266.9);
Tailwind
colors: {
  custom: {
    50: '#787cc8',
    500: '#2c4aaf',
    950: '#000000',
  },
}
SCSS
$custom: #2c4aaf;
$custom-light: #787cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4aaf",
  "rgb": {
    "r": 44,
    "g": 74,
    "b": 175
  },
  "hsl": {
    "h": 226.26,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.44957,
    "c": 0.16497,
    "h": 266.9
  },
  "luminance": 0.08528
}

Semantic roles & 50–950 ramp

primary
#2C4AAF
secondary
#C5B272
accent
#BF45E3
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2C4AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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