#2C4FAC#2C4FAC

#2C4FAC is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.7% C 0.155 H 265.2°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#2C4FAC
RGBrgb(44, 79, 172)
HSLhsl(224, 59%, 42%)
HSVhsv(224, 74%, 67%)
CMYKcmyk(74.4%, 54.1%, 0%, 32.5%)
CIE-LABlab(36.19, 20.76, -53.49)
CIE-LCHlch(36.19, 57.37, 291.22°)
OKLaboklab(45.74% -0.013 -0.154)
OKLCHoklch(45.74% 0.155 265.2)
XYZxyz(11.2785, 9.1048, 40.1847)
Luminance0.0911 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4FAC #AC892C
analogous
#2C8FAC #2C4FAC #492CAC
triadic
#2C4FAC #AC2C4F #4FAC2C
tetradic
#2C4FAC #AC2C8F #AC892C #2CAC49
square
#2C4FAC #AC2C8F #AC892C #2CAC49
split-complementary
#2C4FAC #AC492C #8FAC2C
monochromatic
#13224B #20397B #2C4FAC #466BD0 #7692DC

Accessibility & contrast

On white

7.44
#2C4FAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C4FAC
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4FAC#FFFFFF#000000##FFFFFF
##2C4FAC1.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#055BAF
Deuteranopia (green-blind)
#004FAA
Tritanopia (blue-blind)
#006676
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2c4fac;
/* rgb */ color: rgb(44, 79, 172);
/* oklch */ color: oklch(45.7% 0.155 265.2);
Tailwind
colors: {
  custom: {
    50: '#777fc5',
    500: '#2c4fac',
    950: '#000000',
  },
}
SCSS
$custom: #2c4fac;
$custom-light: #777fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4fac",
  "rgb": {
    "r": 44,
    "g": 79,
    "b": 172
  },
  "hsl": {
    "h": 223.594,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.45735,
    "c": 0.15457,
    "h": 265.2
  },
  "luminance": 0.09106
}

Semantic roles & 50–950 ramp

primary
#2C4FAC
secondary
#C4AD70
accent
#B745E2
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2C4FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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