#2C347D#2C347D

#2C347D is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.3% C 0.123 H 273.9°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#2C347D
RGBrgb(44, 52, 125)
HSLhsl(234, 48%, 33%)
HSVhsv(234, 65%, 49%)
CMYKcmyk(64.8%, 58.4%, 0%, 51%)
CIE-LABlab(25.17, 21.25, -42.60)
CIE-LCHlch(25.17, 47.61, 296.51°)
OKLaboklab(36.33% 0.0083 -0.1224)
OKLCHoklch(36.33% 0.123 273.9)
XYZxyz(5.9671, 4.4716, 19.9467)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C347D #7D752C
analogous
#2C5C7D #2C347D #4C2C7D
triadic
#2C347D #7D2C34 #347D2C
tetradic
#2C347D #7D2C5C #7D752C #2C7D4C
square
#2C347D #7D2C5C #7D752C #2C7D4C
split-complementary
#2C347D #7D4C2C #5C7D2C
monochromatic
#0C0E22 #1C2150 #2C347D #3C47AA #5D68C6

Accessibility & contrast

On white

11.09
#2C347D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2C347D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C347D
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C347D#FFFFFF#000000##FFFFFF
##2C347D1.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F7F
Deuteranopia (green-blind)
#00387C
Tritanopia (blue-blind)
#004553
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2c347d;
/* rgb */ color: rgb(44, 52, 125);
/* oklch */ color: oklch(36.3% 0.123 273.9);
Tailwind
colors: {
  custom: {
    50: '#6f6ba3',
    500: '#2c347d',
    950: '#000000',
  },
}
SCSS
$custom: #2c347d;
$custom-light: #6f6ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c347d",
  "rgb": {
    "r": 44,
    "g": 52,
    "b": 125
  },
  "hsl": {
    "h": 234.074,
    "s": 47.929,
    "l": 33.137
  },
  "oklch": {
    "l": 0.36326,
    "c": 0.12268,
    "h": 273.9
  },
  "luminance": 0.04472
}

Semantic roles & 50–950 ramp

primary
#2C347D
secondary
#ACA459
accent
#CA50D8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2C347D

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

Preview Lab → · Contrast checker → · Palette generator →

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