#2C306C#2C306C

#2C306C is a dark, moderate blue. Relative luminance 0.037; OKLCH L 34.1% C 0.103 H 276.6°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#2C306C
RGBrgb(44, 48, 108)
HSLhsl(236, 42%, 30%)
HSVhsv(236, 59%, 42%)
CMYKcmyk(59.3%, 55.6%, 0%, 57.6%)
CIE-LABlab(22.76, 17.75, -35.65)
CIE-LCHlch(22.76, 39.83, 296.46°)
OKLaboklab(34.11% 0.0118 -0.102)
OKLCHoklch(34.11% 0.103 276.6)
XYZxyz(4.8016, 3.7318, 14.6517)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C306C #6C682C
analogous
#2C506C #2C306C #482C6C
triadic
#2C306C #6C2C30 #306C2C
tetradic
#2C306C #6C2C50 #6C682C #2C6C48
square
#2C306C #6C2C50 #6C682C #2C6C48
split-complementary
#2C306C #6C482C #506C2C
monochromatic
#090A16 #1A1D41 #2C306C #3E4397 #585EBB

Accessibility & contrast

On white

12.02
#2C306C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#2C306C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C306C
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C306C#FFFFFF#000000##FFFFFF
##2C306C1.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E396E
Deuteranopia (green-blind)
#02346B
Tritanopia (blue-blind)
#083E49
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2c306c;
/* rgb */ color: rgb(44, 48, 108);
/* oklch */ color: oklch(34.1% 0.103 276.6);
Tailwind
colors: {
  custom: {
    50: '#6b6896',
    500: '#2c306c',
    950: '#000000',
  },
}
SCSS
$custom: #2c306c;
$custom-light: #6b6896;
$custom-dark: #000000;
JSON
{
  "hex": "#2c306c",
  "rgb": {
    "r": 44,
    "g": 48,
    "b": 108
  },
  "hsl": {
    "h": 236.25,
    "s": 42.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.34112,
    "c": 0.10268,
    "h": 276.6
  },
  "luminance": 0.03732
}

Semantic roles & 50–950 ramp

primary
#2C306C
secondary
#9E9956
accent
#CA56D2
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #2C306C

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

Preview Lab → · Contrast checker → · Palette generator →

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