#2C348E#2C348E

#2C348E is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.8% C 0.147 H 273.2°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#2C348E
RGBrgb(44, 52, 142)
HSLhsl(235, 53%, 36%)
HSVhsv(235, 69%, 56%)
CMYKcmyk(69%, 63.4%, 0%, 44.3%)
CIE-LABlab(26.57, 27.54, -50.94)
CIE-LCHlch(26.57, 57.90, 298.40°)
OKLaboklab(37.8% 0.0081 -0.1469)
OKLCHoklch(37.8% 0.147 273.2)
XYZxyz(7.1476, 4.9438, 26.1635)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C348E #8E862C
analogous
#2C658E #2C348E #552C8E
triadic
#2C348E #8E2C34 #348E2C
tetradic
#2C348E #8E2C65 #8E862C #2C8E55
square
#2C348E #8E2C65 #8E862C #2C8E55
split-complementary
#2C348E #8E552C #658E2C
monochromatic
#0F1231 #1E235F #2C348E #3A45BD #656ECF

Accessibility & contrast

On white

10.56
#2C348E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2C348E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C348E
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C348E#FFFFFF#000000##FFFFFF
##2C348E1.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004391
Deuteranopia (green-blind)
#003A8C
Tritanopia (blue-blind)
#004B5C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2c348e;
/* rgb */ color: rgb(44, 52, 142);
/* oklch */ color: oklch(37.8% 0.147 273.2);
Tailwind
colors: {
  custom: {
    50: '#726bb0',
    500: '#2c348e',
    950: '#000000',
  },
}
SCSS
$custom: #2c348e;
$custom-light: #726bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c348e",
  "rgb": {
    "r": 44,
    "g": 52,
    "b": 142
  },
  "hsl": {
    "h": 235.102,
    "s": 52.688,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37804,
    "c": 0.14712,
    "h": 273.2
  },
  "luminance": 0.04944
}

Semantic roles & 50–950 ramp

primary
#2C348E
secondary
#B6AF60
accent
#D04CDC
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2C348E

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

Preview Lab → · Contrast checker → · Palette generator →

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