#2C4FA3#2C4FA3

#2C4FA3 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.0% C 0.142 H 264.4°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#2C4FA3
RGBrgb(44, 79, 163)
HSLhsl(222, 57%, 41%)
HSVhsv(222, 73%, 64%)
CMYKcmyk(73%, 51.5%, 0%, 36.1%)
CIE-LABlab(35.54, 17.33, -49.16)
CIE-LCHlch(35.54, 52.13, 289.42°)
OKLaboklab(45.04% -0.0139 -0.1413)
OKLCHoklch(45.04% 0.142 264.4)
XYZxyz(10.4432, 8.7707, 35.7858)
Luminance0.0877 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4FA3 #A3802C
analogous
#2C8AA3 #2C4FA3 #442CA3
triadic
#2C4FA3 #A32C4F #4FA32C
tetradic
#2C4FA3 #A32C8A #A3802C #2CA344
square
#2C4FA3 #A32C8A #A3802C #2CA344
split-complementary
#2C4FA3 #A3442C #8AA32C
monochromatic
#122043 #1F3873 #2C4FA3 #4169CC #718FD9

Accessibility & contrast

On white

7.62
#2C4FA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#2C4FA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4FA3
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4FA3#FFFFFF#000000##FFFFFF
##2C4FA31.007.622.757.62
#FFFFFF7.621.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B59A6
Deuteranopia (green-blind)
#004EA1
Tritanopia (blue-blind)
#006371
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2c4fa3;
/* rgb */ color: rgb(44, 79, 163);
/* oklch */ color: oklch(45.0% 0.142 264.4);
Tailwind
colors: {
  custom: {
    50: '#757fbf',
    500: '#2c4fa3',
    950: '#000000',
  },
}
SCSS
$custom: #2c4fa3;
$custom-light: #757fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4fa3",
  "rgb": {
    "r": 44,
    "g": 79,
    "b": 163
  },
  "hsl": {
    "h": 222.353,
    "s": 57.488,
    "l": 40.588
  },
  "oklch": {
    "l": 0.45039,
    "c": 0.14198,
    "h": 264.4
  },
  "luminance": 0.08772
}

Semantic roles & 50–950 ramp

primary
#2C4FA3
secondary
#C0A76B
accent
#B447E1
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2C4FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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