#2C348C#2C348C

#2C348C is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.6% C 0.144 H 273.3°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#2C348C
RGBrgb(44, 52, 140)
HSLhsl(235, 52%, 36%)
HSVhsv(235, 69%, 55%)
CMYKcmyk(68.6%, 62.9%, 0%, 45.1%)
CIE-LABlab(26.40, 26.80, -49.98)
CIE-LCHlch(26.40, 56.71, 298.20°)
OKLaboklab(37.62% 0.0082 -0.1441)
OKLCHoklch(37.62% 0.144 273.3)
XYZxyz(6.9987, 4.8843, 25.3798)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C348C #8C842C
analogous
#2C648C #2C348C #542C8C
triadic
#2C348C #8C2C34 #348C2C
tetradic
#2C348C #8C2C64 #8C842C #2C8C54
square
#2C348C #8C2C64 #8C842C #2C8C54
split-complementary
#2C348C #8C542C #648C2C
monochromatic
#0F112F #1D235D #2C348C #3B45BB #646DCE

Accessibility & contrast

On white

10.62
#2C348C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2C348C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C348C
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C348C#FFFFFF#000000##FFFFFF
##2C348C1.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438F
Deuteranopia (green-blind)
#003A8A
Tritanopia (blue-blind)
#004A5B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2c348c;
/* rgb */ color: rgb(44, 52, 140);
/* oklch */ color: oklch(37.6% 0.144 273.3);
Tailwind
colors: {
  custom: {
    50: '#726bae',
    500: '#2c348c',
    950: '#000000',
  },
}
SCSS
$custom: #2c348c;
$custom-light: #726bae;
$custom-dark: #000000;
JSON
{
  "hex": "#2c348c",
  "rgb": {
    "r": 44,
    "g": 52,
    "b": 140
  },
  "hsl": {
    "h": 235,
    "s": 52.174,
    "l": 36.078
  },
  "oklch": {
    "l": 0.37624,
    "c": 0.14431,
    "h": 273.3
  },
  "luminance": 0.04885
}

Semantic roles & 50–950 ramp

primary
#2C348C
secondary
#B5AE5F
accent
#D04CDC
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2C348C

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

Preview Lab → · Contrast checker → · Palette generator →

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