#2C4ABC#2C4ABC

#2C4ABC is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.1% C 0.182 H 267.3°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#2C4ABC
RGBrgb(44, 74, 188)
HSLhsl(228, 62%, 45%)
HSVhsv(228, 77%, 74%)
CMYKcmyk(76.6%, 60.6%, 0%, 26.3%)
CIE-LABlab(36.10, 30.10, -63.07)
CIE-LCHlch(36.10, 69.88, 295.51°)
OKLaboklab(46.07% -0.0086 -0.1823)
OKLCHoklch(46.07% 0.182 267.3)
XYZxyz(12.5614, 9.0625, 48.6544)
Luminance0.0906 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4ABC #BC9E2C
analogous
#2C92BC #2C4ABC #562CBC
triadic
#2C4ABC #BC2C4A #4ABC2C
tetradic
#2C4ABC #BC2C92 #BC9E2C #2CBC56
square
#2C4ABC #BC2C92 #BC9E2C #2CBC56
split-complementary
#2C4ABC #BC562C #92BC2C
monochromatic
#152359 #20368A #2C4ABC #4F6BD6 #8195E1

Accessibility & contrast

On white

7.47
#2C4ABC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#2C4ABC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4ABC
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4ABC#FFFFFF#000000##FFFFFF
##2C4ABC1.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC0
Deuteranopia (green-blind)
#004EBA
Tritanopia (blue-blind)
#00677C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2c4abc;
/* rgb */ color: rgb(44, 74, 188);
/* oklch */ color: oklch(46.1% 0.182 267.3);
Tailwind
colors: {
  custom: {
    50: '#7b7cd1',
    500: '#2c4abc',
    950: '#000000',
  },
}
SCSS
$custom: #2c4abc;
$custom-light: #7b7cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4abc",
  "rgb": {
    "r": 44,
    "g": 74,
    "b": 188
  },
  "hsl": {
    "h": 227.5,
    "s": 62.069,
    "l": 45.49
  },
  "oklch": {
    "l": 0.46065,
    "c": 0.18246,
    "h": 267.3
  },
  "luminance": 0.09064
}

Semantic roles & 50–950 ramp

primary
#2C4ABC
secondary
#CAB979
accent
#C343E5
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #2C4ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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