#2C4BBF#2C4BBF

#2C4BBF is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.5% C 0.185 H 267.1°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#2C4BBF
RGBrgb(44, 75, 191)
HSLhsl(227, 63%, 46%)
HSVhsv(227, 77%, 75%)
CMYKcmyk(77%, 60.7%, 0%, 25.1%)
CIE-LABlab(36.61, 30.56, -64.01)
CIE-LCHlch(36.61, 70.93, 295.52°)
OKLaboklab(46.52% -0.0093 -0.185)
OKLCHoklch(46.52% 0.185 267.1)
XYZxyz(12.9555, 9.3278, 50.3978)
Luminance0.0933 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4BBF #BFA02C
analogous
#2C94BF #2C4BBF #562CBF
triadic
#2C4BBF #BF2C4B #4BBF2C
tetradic
#2C4BBF #BF2C94 #BFA02C #2CBF56
square
#2C4BBF #BF2C94 #BFA02C #2CBF56
split-complementary
#2C4BBF #BF562C #94BF2C
monochromatic
#15245C #21378D #2C4BBF #516DD7 #8397E2

Accessibility & contrast

On white

7.33
#2C4BBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#2C4BBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4BBF
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4BBF#FFFFFF#000000##FFFFFF
##2C4BBF1.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC3
Deuteranopia (green-blind)
#004FBD
Tritanopia (blue-blind)
#00697E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2c4bbf;
/* rgb */ color: rgb(44, 75, 191);
/* oklch */ color: oklch(46.5% 0.185 267.1);
Tailwind
colors: {
  custom: {
    50: '#7c7dd3',
    500: '#2c4bbf',
    950: '#000000',
  },
}
SCSS
$custom: #2c4bbf;
$custom-light: #7c7dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4bbf",
  "rgb": {
    "r": 44,
    "g": 75,
    "b": 191
  },
  "hsl": {
    "h": 227.347,
    "s": 62.553,
    "l": 46.078
  },
  "oklch": {
    "l": 0.46516,
    "c": 0.18522,
    "h": 267.1
  },
  "luminance": 0.09329
}

Semantic roles & 50–950 ramp

primary
#2C4BBF
secondary
#CCBB7B
accent
#C342E6
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #2C4BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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