#2C355F#2C355F

#2C355F is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.3% C 0.074 H 272.8°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#2C355F
RGBrgb(44, 53, 95)
HSLhsl(229, 37%, 27%)
HSVhsv(229, 54%, 37%)
CMYKcmyk(53.7%, 44.2%, 0%, 62.7%)
CIE-LABlab(23.36, 9.54, -26.25)
CIE-LCHlch(23.36, 27.93, 289.98°)
OKLaboklab(34.28% 0.0036 -0.0743)
OKLCHoklch(34.28% 0.074 272.8)
XYZxyz(4.3767, 3.9076, 11.3479)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C355F #5F562C
analogous
#2C4F5F #2C355F #3D2C5F
triadic
#2C355F #5F2C35 #355F2C
tetradic
#2C355F #5F2C4F #5F562C #2C5F3D
square
#2C355F #5F2C4F #5F562C #2C5F3D
split-complementary
#2C355F #5F3D2C #4F5F2C
monochromatic
#0A0C15 #191E35 #2C355F #3F4C89 #5565B0

Accessibility & contrast

On white

11.79
#2C355F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#2C355F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C355F
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C355F#FFFFFF#000000##FFFFFF
##2C355F1.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#243A61
Deuteranopia (green-blind)
#1F365E
Tritanopia (blue-blind)
#173E45
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2c355f;
/* rgb */ color: rgb(44, 53, 95);
/* oklch */ color: oklch(34.3% 0.074 272.8);
Tailwind
colors: {
  custom: {
    50: '#696c8c',
    500: '#2c355f',
    950: '#000000',
  },
}
SCSS
$custom: #2c355f;
$custom-light: #696c8c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c355f",
  "rgb": {
    "r": 44,
    "g": 53,
    "b": 95
  },
  "hsl": {
    "h": 229.412,
    "s": 36.691,
    "l": 27.255
  },
  "oklch": {
    "l": 0.34285,
    "c": 0.07444,
    "h": 272.8
  },
  "luminance": 0.03908
}

Semantic roles & 50–950 ramp

primary
#2C355F
secondary
#918756
accent
#B95BCD
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060C
muted
#7A7A7D

Preview Lab

Preview with #2C355F

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

Preview Lab → · Contrast checker → · Palette generator →

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