#2C347B#2C347B

#2C347B is a dark, moderate blue. Relative luminance 0.044; OKLCH L 36.2% C 0.120 H 273.9°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#2C347B
RGBrgb(44, 52, 123)
HSLhsl(234, 47%, 33%)
HSVhsv(234, 64%, 48%)
CMYKcmyk(64.2%, 57.7%, 0%, 51.8%)
CIE-LABlab(25.02, 20.51, -41.59)
CIE-LCHlch(25.02, 46.37, 296.25°)
OKLaboklab(36.16% 0.0082 -0.1194)
OKLCHoklch(36.16% 0.12 273.9)
XYZxyz(5.8407, 4.4210, 19.2806)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C347B #7B732C
analogous
#2C5B7B #2C347B #4B2C7B
triadic
#2C347B #7B2C34 #347B2C
tetradic
#2C347B #7B2C5B #7B732C #2C7B4B
square
#2C347B #7B2C5B #7B732C #2C7B4B
split-complementary
#2C347B #7B4B2C #5B7B2C
monochromatic
#0C0E21 #1C214E #2C347B #3C47A8 #5D67C5

Accessibility & contrast

On white

11.14
#2C347B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C347B
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C347B#FFFFFF#000000##FFFFFF
##2C347B1.0011.141.8811.14
#FFFFFF11.141.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F7D
Deuteranopia (green-blind)
#00387A
Tritanopia (blue-blind)
#004552
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2c347b;
/* rgb */ color: rgb(44, 52, 123);
/* oklch */ color: oklch(36.2% 0.120 273.9);
Tailwind
colors: {
  custom: {
    50: '#6e6ba2',
    500: '#2c347b',
    950: '#000000',
  },
}
SCSS
$custom: #2c347b;
$custom-light: #6e6ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c347b",
  "rgb": {
    "r": 44,
    "g": 52,
    "b": 123
  },
  "hsl": {
    "h": 233.924,
    "s": 47.305,
    "l": 32.745
  },
  "oklch": {
    "l": 0.36161,
    "c": 0.11971,
    "h": 273.9
  },
  "luminance": 0.04422
}

Semantic roles & 50–950 ramp

primary
#2C347B
secondary
#ABA358
accent
#C951D7
background
#F7F6FA
surface
#EDEBF3
border
#C8C6CD
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2C347B

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

Preview Lab → · Contrast checker → · Palette generator →

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