#2C45C0#2C45C0

#2C45C0 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.5% C 0.194 H 268.3°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#2C45C0
RGBrgb(44, 69, 192)
HSLhsl(230, 63%, 46%)
HSVhsv(230, 77%, 75%)
CMYKcmyk(77.1%, 64.1%, 0%, 24.7%)
CIE-LABlab(35.19, 34.80, -66.90)
CIE-LCHlch(35.19, 75.41, 297.48°)
OKLaboklab(45.5% -0.0056 -0.1935)
OKLCHoklch(45.5% 0.194 268.3)
XYZxyz(12.6780, 8.5961, 50.8500)
Luminance0.0860 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C45C0 #C0A72C
analogous
#2C8FC0 #2C45C0 #5D2CC0
triadic
#2C45C0 #C02C45 #45C02C
tetradic
#2C45C0 #C02C8F #C0A72C #2CC05D
square
#2C45C0 #C02C8F #C0A72C #2CC05D
split-complementary
#2C45C0 #C05D2C #8FC02C
monochromatic
#15215C #21338E #2C45C0 #5268D7 #8494E3

Accessibility & contrast

On white

7.72
#2C45C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#2C45C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C45C0
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C45C0#FFFFFF#000000##FFFFFF
##2C45C01.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC4
Deuteranopia (green-blind)
#004CBE
Tritanopia (blue-blind)
#00657C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2c45c0;
/* rgb */ color: rgb(44, 69, 192);
/* oklch */ color: oklch(45.5% 0.194 268.3);
Tailwind
colors: {
  custom: {
    50: '#7d78d4',
    500: '#2c45c0',
    950: '#000000',
  },
}
SCSS
$custom: #2c45c0;
$custom-light: #7d78d4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c45c0",
  "rgb": {
    "r": 44,
    "g": 69,
    "b": 192
  },
  "hsl": {
    "h": 229.865,
    "s": 62.712,
    "l": 46.275
  },
  "oklch": {
    "l": 0.45498,
    "c": 0.19362,
    "h": 268.3
  },
  "luminance": 0.08597
}

Semantic roles & 50–950 ramp

primary
#2C45C0
secondary
#CCBE7C
accent
#CA42E6
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #2C45C0

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

Preview Lab → · Contrast checker → · Palette generator →

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