#2C4BBC#2C4BBC

#2C4BBC is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.3% C 0.181 H 267.1°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#2C4BBC
RGBrgb(44, 75, 188)
HSLhsl(227, 62%, 45%)
HSVhsv(227, 77%, 74%)
CMYKcmyk(76.6%, 60.1%, 0%, 26.3%)
CIE-LABlab(36.36, 29.44, -62.65)
CIE-LCHlch(36.36, 69.22, 295.17°)
OKLaboklab(46.26% -0.0093 -0.181)
OKLCHoklch(46.26% 0.181 267.1)
XYZxyz(12.6287, 9.1971, 48.6768)
Luminance0.0920 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4BBC #BC9D2C
analogous
#2C93BC #2C4BBC #552CBC
triadic
#2C4BBC #BC2C4B #4BBC2C
tetradic
#2C4BBC #BC2C93 #BC9D2C #2CBC55
square
#2C4BBC #BC2C93 #BC9D2C #2CBC55
split-complementary
#2C4BBC #BC552C #93BC2C
monochromatic
#152359 #20378A #2C4BBC #4F6CD6 #8196E1

Accessibility & contrast

On white

7.40
#2C4BBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#2C4BBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4BBC
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4BBC#FFFFFF#000000##FFFFFF
##2C4BBC1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC0
Deuteranopia (green-blind)
#004FBA
Tritanopia (blue-blind)
#00687C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2c4bbc;
/* rgb */ color: rgb(44, 75, 188);
/* oklch */ color: oklch(46.3% 0.181 267.1);
Tailwind
colors: {
  custom: {
    50: '#7b7dd1',
    500: '#2c4bbc',
    950: '#000000',
  },
}
SCSS
$custom: #2c4bbc;
$custom-light: #7b7dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4bbc",
  "rgb": {
    "r": 44,
    "g": 75,
    "b": 188
  },
  "hsl": {
    "h": 227.083,
    "s": 62.069,
    "l": 45.49
  },
  "oklch": {
    "l": 0.46256,
    "c": 0.18125,
    "h": 267.1
  },
  "luminance": 0.09198
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C4BBC

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

Preview Lab → · Contrast checker → · Palette generator →

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