#2C3166#2C3166

#2C3166 is a dark, moderate blue. Relative luminance 0.037; OKLCH L 33.9% C 0.092 H 276.3°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#2C3166
RGBrgb(44, 49, 102)
HSLhsl(235, 40%, 29%)
HSVhsv(235, 57%, 40%)
CMYKcmyk(56.9%, 52%, 0%, 60%)
CIE-LABlab(22.62, 14.87, -32.00)
CIE-LCHlch(22.62, 35.28, 294.92°)
OKLaboklab(33.87% 0.01 -0.0912)
OKLCHoklch(33.87% 0.092 276.3)
XYZxyz(4.5345, 3.6911, 13.0413)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3166 #66612C
analogous
#2C4E66 #2C3166 #442C66
triadic
#2C3166 #662C31 #31662C
tetradic
#2C3166 #662C4E #66612C #2C6644
square
#2C3166 #662C4E #66612C #2C6644
split-complementary
#2C3166 #66442C #4E662C
monochromatic
#090A15 #1A1C3B #2C3166 #3E4691 #565EB6

Accessibility & contrast

On white

12.08
#2C3166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#2C3166 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3166
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3166#FFFFFF#000000##FFFFFF
##2C31661.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183868
Deuteranopia (green-blind)
#113465
Tritanopia (blue-blind)
#113D46
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2c3166;
/* rgb */ color: rgb(44, 49, 102);
/* oklch */ color: oklch(33.9% 0.092 276.3);
Tailwind
colors: {
  custom: {
    50: '#6a6892',
    500: '#2c3166',
    950: '#000000',
  },
}
SCSS
$custom: #2c3166;
$custom-light: #6a6892;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3166",
  "rgb": {
    "r": 44,
    "g": 49,
    "b": 102
  },
  "hsl": {
    "h": 234.828,
    "s": 39.726,
    "l": 28.627
  },
  "oklch": {
    "l": 0.33869,
    "c": 0.09179,
    "h": 276.3
  },
  "luminance": 0.03691
}

Semantic roles & 50–950 ramp

primary
#2C3166
secondary
#989256
accent
#C558D0
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #2C3166

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

Preview Lab → · Contrast checker → · Palette generator →

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