#2C348B#2C348B

#2C348B is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.5% C 0.143 H 273.3°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#2C348B
RGBrgb(44, 52, 139)
HSLhsl(235, 52%, 36%)
HSVhsv(235, 68%, 55%)
CMYKcmyk(68.3%, 62.6%, 0%, 45.5%)
CIE-LABlab(26.32, 26.43, -49.50)
CIE-LCHlch(26.32, 56.11, 298.10°)
OKLaboklab(37.54% 0.0083 -0.1427)
OKLCHoklch(37.54% 0.143 273.3)
XYZxyz(6.9253, 4.8549, 24.9932)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C348B #8B832C
analogous
#2C638B #2C348B #532C8B
triadic
#2C348B #8B2C34 #348B2C
tetradic
#2C348B #8B2C63 #8B832C #2C8B53
square
#2C348B #8B2C63 #8B832C #2C8B53
split-complementary
#2C348B #8B532C #638B2C
monochromatic
#0F112E #1D235D #2C348B #3B45B9 #646DCE

Accessibility & contrast

On white

10.65
#2C348B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C348B
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C348B#FFFFFF#000000##FFFFFF
##2C348B1.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438E
Deuteranopia (green-blind)
#003A89
Tritanopia (blue-blind)
#004A5A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2c348b;
/* rgb */ color: rgb(44, 52, 139);
/* oklch */ color: oklch(37.5% 0.143 273.3);
Tailwind
colors: {
  custom: {
    50: '#726bae',
    500: '#2c348b',
    950: '#000000',
  },
}
SCSS
$custom: #2c348b;
$custom-light: #726bae;
$custom-dark: #000000;
JSON
{
  "hex": "#2c348b",
  "rgb": {
    "r": 44,
    "g": 52,
    "b": 139
  },
  "hsl": {
    "h": 234.947,
    "s": 51.913,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37535,
    "c": 0.14291,
    "h": 273.3
  },
  "luminance": 0.04856
}

Semantic roles & 50–950 ramp

primary
#2C348B
secondary
#B4AD5F
accent
#CF4CDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2C348B

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

Preview Lab → · Contrast checker → · Palette generator →

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