#2C4FA9#2C4FA9

#2C4FA9 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.5% C 0.150 H 264.9°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#2C4FA9
RGBrgb(44, 79, 169)
HSLhsl(223, 59%, 42%)
HSVhsv(223, 74%, 66%)
CMYKcmyk(74%, 53.3%, 0%, 33.7%)
CIE-LABlab(35.97, 19.62, -52.05)
CIE-LCHlch(35.97, 55.63, 290.65°)
OKLaboklab(45.5% -0.0132 -0.1498)
OKLCHoklch(45.5% 0.15 264.9)
XYZxyz(10.9936, 8.9908, 38.6844)
Luminance0.0899 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4FA9 #A9862C
analogous
#2C8EA9 #2C4FA9 #482CA9
triadic
#2C4FA9 #A92C4F #4FA92C
tetradic
#2C4FA9 #A92C8E #A9862C #2CA948
square
#2C4FA9 #A92C8E #A9862C #2CA948
split-complementary
#2C4FA9 #A9482C #8EA92C
monochromatic
#132248 #1F3878 #2C4FA9 #446BCE #7491DB

Accessibility & contrast

On white

7.50
#2C4FA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#2C4FA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4FA9
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4FA9#FFFFFF#000000##FFFFFF
##2C4FA91.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F5BAC
Deuteranopia (green-blind)
#004FA7
Tritanopia (blue-blind)
#006574
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2c4fa9;
/* rgb */ color: rgb(44, 79, 169);
/* oklch */ color: oklch(45.5% 0.150 264.9);
Tailwind
colors: {
  custom: {
    50: '#767fc3',
    500: '#2c4fa9',
    950: '#000000',
  },
}
SCSS
$custom: #2c4fa9;
$custom-light: #767fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4fa9",
  "rgb": {
    "r": 44,
    "g": 79,
    "b": 169
  },
  "hsl": {
    "h": 223.2,
    "s": 58.685,
    "l": 41.765
  },
  "oklch": {
    "l": 0.455,
    "c": 0.15039,
    "h": 264.9
  },
  "luminance": 0.08992
}

Semantic roles & 50–950 ramp

primary
#2C4FA9
secondary
#C3AB6E
accent
#B646E2
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2C4FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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