#2C347A#2C347A

#2C347A is a dark, moderate blue. Relative luminance 0.044; OKLCH L 36.1% C 0.118 H 274.0°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#2C347A
RGBrgb(44, 52, 122)
HSLhsl(234, 47%, 33%)
HSVhsv(234, 64%, 48%)
CMYKcmyk(63.9%, 57.4%, 0%, 52.2%)
CIE-LABlab(24.94, 20.14, -41.08)
CIE-LCHlch(24.94, 45.75, 296.11°)
OKLaboklab(36.08% 0.0082 -0.1179)
OKLCHoklch(36.08% 0.118 274)
XYZxyz(5.7784, 4.3961, 18.9526)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C347A #7A722C
analogous
#2C5B7A #2C347A #4B2C7A
triadic
#2C347A #7A2C34 #347A2C
tetradic
#2C347A #7A2C5B #7A722C #2C7A4B
square
#2C347A #7A2C5B #7A722C #2C7A4B
split-complementary
#2C347A #7A4B2C #5B7A2C
monochromatic
#0C0E20 #1C214D #2C347A #3C47A7 #5C67C4

Accessibility & contrast

On white

11.17
#2C347A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2C347A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C347A
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C347A#FFFFFF#000000##FFFFFF
##2C347A1.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F7C
Deuteranopia (green-blind)
#003879
Tritanopia (blue-blind)
#004551
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2c347a;
/* rgb */ color: rgb(44, 52, 122);
/* oklch */ color: oklch(36.1% 0.118 274.0);
Tailwind
colors: {
  custom: {
    50: '#6e6ba1',
    500: '#2c347a',
    950: '#000000',
  },
}
SCSS
$custom: #2c347a;
$custom-light: #6e6ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c347a",
  "rgb": {
    "r": 44,
    "g": 52,
    "b": 122
  },
  "hsl": {
    "h": 233.846,
    "s": 46.988,
    "l": 32.549
  },
  "oklch": {
    "l": 0.36078,
    "c": 0.11821,
    "h": 274
  },
  "luminance": 0.04397
}

Semantic roles & 50–950 ramp

primary
#2C347A
secondary
#AAA257
accent
#C951D7
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#08060F
muted
#7A7A7F

Preview Lab

Preview with #2C347A

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

Preview Lab → · Contrast checker → · Palette generator →

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