#2C4AB2#2C4AB2

#2C4AB2 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.2% C 0.169 H 267.0°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#2C4AB2
RGBrgb(44, 74, 178)
HSLhsl(227, 60%, 44%)
HSVhsv(227, 75%, 70%)
CMYKcmyk(75.3%, 58.4%, 0%, 30.2%)
CIE-LABlab(35.29, 26.35, -58.49)
CIE-LCHlch(35.29, 64.16, 294.25°)
OKLaboklab(45.21% -0.0088 -0.1688)
OKLCHoklch(45.21% 0.169 267)
XYZxyz(11.5206, 8.6461, 43.1726)
Luminance0.0865 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4AB2 #B2942C
analogous
#2C8DB2 #2C4AB2 #512CB2
triadic
#2C4AB2 #B22C4A #4AB22C
tetradic
#2C4AB2 #B22C8D #B2942C #2CB251
square
#2C4AB2 #B22C8D #B2942C #2CB251
split-complementary
#2C4AB2 #B2512C #8DB22C
monochromatic
#142150 #203681 #2C4AB2 #4968D2 #7A91DE

Accessibility & contrast

On white

7.69
#2C4AB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#2C4AB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4AB2
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4AB2#FFFFFF#000000##FFFFFF
##2C4AB21.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B6
Deuteranopia (green-blind)
#004DB0
Tritanopia (blue-blind)
#006476
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2c4ab2;
/* rgb */ color: rgb(44, 74, 178);
/* oklch */ color: oklch(45.2% 0.169 267.0);
Tailwind
colors: {
  custom: {
    50: '#797cca',
    500: '#2c4ab2',
    950: '#000000',
  },
}
SCSS
$custom: #2c4ab2;
$custom-light: #797cca;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4ab2",
  "rgb": {
    "r": 44,
    "g": 74,
    "b": 178
  },
  "hsl": {
    "h": 226.567,
    "s": 60.36,
    "l": 43.529
  },
  "oklch": {
    "l": 0.45208,
    "c": 0.16905,
    "h": 267
  },
  "luminance": 0.08647
}

Semantic roles & 50–950 ramp

primary
#2C4AB2
secondary
#C6B473
accent
#C044E4
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2C4AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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