#2C348D#2C348D

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

Color values

HEX#2C348D
RGBrgb(44, 52, 141)
HSLhsl(235, 52%, 36%)
HSVhsv(235, 69%, 55%)
CMYKcmyk(68.8%, 63.1%, 0%, 44.7%)
CIE-LABlab(26.49, 27.17, -50.46)
CIE-LCHlch(26.49, 57.31, 298.30°)
OKLaboklab(37.71% 0.0082 -0.1455)
OKLCHoklch(37.71% 0.146 273.2)
XYZxyz(7.0728, 4.9139, 25.7699)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C348D #8D852C
analogous
#2C658D #2C348D #552C8D
triadic
#2C348D #8D2C34 #348D2C
tetradic
#2C348D #8D2C65 #8D852C #2C8D55
square
#2C348D #8D2C65 #8D852C #2C8D55
split-complementary
#2C348D #8D552C #658D2C
monochromatic
#0F1230 #1D235E #2C348D #3B45BC #656DCF

Accessibility & contrast

On white

10.59
#2C348D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2C348D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C348D
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C348D#FFFFFF#000000##FFFFFF
##2C348D1.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004390
Deuteranopia (green-blind)
#003A8B
Tritanopia (blue-blind)
#004A5B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2c348d;
/* rgb */ color: rgb(44, 52, 141);
/* oklch */ color: oklch(37.7% 0.146 273.2);
Tailwind
colors: {
  custom: {
    50: '#726baf',
    500: '#2c348d',
    950: '#000000',
  },
}
SCSS
$custom: #2c348d;
$custom-light: #726baf;
$custom-dark: #000000;
JSON
{
  "hex": "#2c348d",
  "rgb": {
    "r": 44,
    "g": 52,
    "b": 141
  },
  "hsl": {
    "h": 235.052,
    "s": 52.432,
    "l": 36.275
  },
  "oklch": {
    "l": 0.37714,
    "c": 0.14572,
    "h": 273.2
  },
  "luminance": 0.04915
}

Semantic roles & 50–950 ramp

primary
#2C348D
secondary
#B5AE60
accent
#D04CDC
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2C348D

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

Preview Lab → · Contrast checker → · Palette generator →

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