#2C349F#2C349F

#2C349F is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.4% C 0.170 H 272.4°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#2C349F
RGBrgb(44, 52, 159)
HSLhsl(236, 57%, 40%)
HSVhsv(236, 72%, 62%)
CMYKcmyk(72.3%, 67.3%, 0%, 37.6%)
CIE-LABlab(28.10, 33.72, -58.86)
CIE-LCHlch(28.10, 67.83, 299.81°)
OKLaboklab(39.39% 0.007 -0.1701)
OKLCHoklch(39.39% 0.17 272.4)
XYZxyz(8.5226, 5.4938, 33.4054)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C349F #9F972C
analogous
#2C6E9F #2C349F #5E2C9F
triadic
#2C349F #9F2C34 #349F2C
tetradic
#2C349F #9F2C6E #9F972C #2C9F5E
square
#2C349F #9F2C6E #9F972C #2C9F5E
split-complementary
#2C349F #9F5E2C #6E9F2C
monochromatic
#11153F #1F246F #2C349F #3E48CA #6E76D7

Accessibility & contrast

On white

10.00
#2C349F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#2C349F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C349F
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C349F#FFFFFF#000000##FFFFFF
##2C349F1.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A2
Deuteranopia (green-blind)
#003D9D
Tritanopia (blue-blind)
#005065
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2c349f;
/* rgb */ color: rgb(44, 52, 159);
/* oklch */ color: oklch(39.4% 0.170 272.4);
Tailwind
colors: {
  custom: {
    50: '#766cbc',
    500: '#2c349f',
    950: '#000000',
  },
}
SCSS
$custom: #2c349f;
$custom-light: #766cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#2c349f",
  "rgb": {
    "r": 44,
    "g": 52,
    "b": 159
  },
  "hsl": {
    "h": 235.826,
    "s": 56.65,
    "l": 39.804
  },
  "oklch": {
    "l": 0.39389,
    "c": 0.17026,
    "h": 272.4
  },
  "luminance": 0.05495
}

Semantic roles & 50–950 ramp

primary
#2C349F
secondary
#BEB869
accent
#D548E0
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2C349F

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

Preview Lab → · Contrast checker → · Palette generator →

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