#2C4AB3#2C4AB3

#2C4AB3 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.3% C 0.170 H 267.0°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#2C4AB3
RGBrgb(44, 74, 179)
HSLhsl(227, 61%, 44%)
HSVhsv(227, 75%, 70%)
CMYKcmyk(75.4%, 58.7%, 0%, 29.8%)
CIE-LABlab(35.37, 26.73, -58.96)
CIE-LCHlch(35.37, 64.73, 294.39°)
OKLaboklab(45.29% -0.0088 -0.1702)
OKLCHoklch(45.29% 0.17 267)
XYZxyz(11.6213, 8.6864, 43.7033)
Luminance0.0869 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4AB3 #B3952C
analogous
#2C8DB3 #2C4AB3 #512CB3
triadic
#2C4AB3 #B32C4A #4AB32C
tetradic
#2C4AB3 #B32C8D #B3952C #2CB351
square
#2C4AB3 #B32C8D #B3952C #2CB351
split-complementary
#2C4AB3 #B3512C #8DB32C
monochromatic
#142151 #203682 #2C4AB3 #4A68D2 #7B91DF

Accessibility & contrast

On white

7.67
#2C4AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#2C4AB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4AB3
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4AB3#FFFFFF#000000##FFFFFF
##2C4AB31.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB7
Deuteranopia (green-blind)
#004DB1
Tritanopia (blue-blind)
#006477
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2c4ab3;
/* rgb */ color: rgb(44, 74, 179);
/* oklch */ color: oklch(45.3% 0.170 267.0);
Tailwind
colors: {
  custom: {
    50: '#797ccb',
    500: '#2c4ab3',
    950: '#000000',
  },
}
SCSS
$custom: #2c4ab3;
$custom-light: #797ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4ab3",
  "rgb": {
    "r": 44,
    "g": 74,
    "b": 179
  },
  "hsl": {
    "h": 226.667,
    "s": 60.538,
    "l": 43.725
  },
  "oklch": {
    "l": 0.45293,
    "c": 0.17041,
    "h": 267
  },
  "luminance": 0.08688
}

Semantic roles & 50–950 ramp

primary
#2C4AB3
secondary
#C7B474
accent
#C044E4
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2C4AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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