#2C4EAF#2C4EAF

#2C4EAF is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.8% C 0.160 H 265.7°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#2C4EAF
RGBrgb(44, 78, 175)
HSLhsl(224, 60%, 43%)
HSVhsv(224, 75%, 69%)
CMYKcmyk(74.9%, 55.4%, 0%, 31.4%)
CIE-LABlab(36.13, 22.57, -55.35)
CIE-LCHlch(36.13, 59.77, 292.18°)
OKLaboklab(45.77% -0.012 -0.1595)
OKLCHoklch(45.77% 0.16 265.7)
XYZxyz(11.4982, 9.0781, 41.6954)
Luminance0.0908 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4EAF #AF8D2C
analogous
#2C90AF #2C4EAF #4B2CAF
triadic
#2C4EAF #AF2C4E #4EAF2C
tetradic
#2C4EAF #AF2C90 #AF8D2C #2CAF4B
square
#2C4EAF #AF2C90 #AF8D2C #2CAF4B
split-complementary
#2C4EAF #AF4B2C #90AF2C
monochromatic
#13224D #20387E #2C4EAF #476BD1 #7892DD

Accessibility & contrast

On white

7.46
#2C4EAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#2C4EAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4EAF
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4EAF#FFFFFF#000000##FFFFFF
##2C4EAF1.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB2
Deuteranopia (green-blind)
#004FAD
Tritanopia (blue-blind)
#006677
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2c4eaf;
/* rgb */ color: rgb(44, 78, 175);
/* oklch */ color: oklch(45.8% 0.160 265.7);
Tailwind
colors: {
  custom: {
    50: '#787fc8',
    500: '#2c4eaf',
    950: '#000000',
  },
}
SCSS
$custom: #2c4eaf;
$custom-light: #787fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4eaf",
  "rgb": {
    "r": 44,
    "g": 78,
    "b": 175
  },
  "hsl": {
    "h": 224.427,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.45767,
    "c": 0.15997,
    "h": 265.7
  },
  "luminance": 0.09079
}

Semantic roles & 50–950 ramp

primary
#2C4EAF
secondary
#C5AF72
accent
#BA45E3
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2C4EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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