#2C348A#2C348A

#2C348A is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.4% C 0.141 H 273.4°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#2C348A
RGBrgb(44, 52, 138)
HSLhsl(235, 52%, 36%)
HSVhsv(235, 68%, 54%)
CMYKcmyk(68.1%, 62.3%, 0%, 45.9%)
CIE-LABlab(26.23, 26.06, -49.01)
CIE-LCHlch(26.23, 55.51, 298.00°)
OKLaboklab(37.45% 0.0083 -0.1412)
OKLCHoklch(37.45% 0.141 273.4)
XYZxyz(6.8526, 4.8258, 24.6102)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C348A #8A822C
analogous
#2C638A #2C348A #532C8A
triadic
#2C348A #8A2C34 #348A2C
tetradic
#2C348A #8A2C63 #8A822C #2C8A53
square
#2C348A #8A2C63 #8A822C #2C8A53
split-complementary
#2C348A #8A532C #638A2C
monochromatic
#0E112D #1D235C #2C348A #3B45B8 #636CCD

Accessibility & contrast

On white

10.69
#2C348A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2C348A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C348A
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C348A#FFFFFF#000000##FFFFFF
##2C348A1.0010.691.9710.69
#FFFFFF10.691.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428D
Deuteranopia (green-blind)
#003A88
Tritanopia (blue-blind)
#00495A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2c348a;
/* rgb */ color: rgb(44, 52, 138);
/* oklch */ color: oklch(37.4% 0.141 273.4);
Tailwind
colors: {
  custom: {
    50: '#716bad',
    500: '#2c348a',
    950: '#000000',
  },
}
SCSS
$custom: #2c348a;
$custom-light: #716bad;
$custom-dark: #000000;
JSON
{
  "hex": "#2c348a",
  "rgb": {
    "r": 44,
    "g": 52,
    "b": 138
  },
  "hsl": {
    "h": 234.894,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.37446,
    "c": 0.14149,
    "h": 273.4
  },
  "luminance": 0.04826
}

Semantic roles & 50–950 ramp

primary
#2C348A
secondary
#B4AC5E
accent
#CF4DDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2C348A

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

Preview Lab → · Contrast checker → · Palette generator →

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