#2C3266#2C3266

#2C3266 is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.1% C 0.090 H 275.6°. Best body text is #FFFFFF at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#2C3266
RGBrgb(44, 50, 102)
HSLhsl(234, 40%, 29%)
HSVhsv(234, 57%, 40%)
CMYKcmyk(56.9%, 51%, 0%, 60%)
CIE-LABlab(22.92, 14.17, -31.53)
CIE-LCHlch(22.92, 34.56, 294.20°)
OKLaboklab(34.09% 0.0088 -0.0898)
OKLCHoklch(34.09% 0.09 275.6)
XYZxyz(4.5768, 3.7757, 13.0554)
Luminance0.0378 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3266 #66602C
analogous
#2C4F66 #2C3266 #432C66
triadic
#2C3266 #662C32 #32662C
tetradic
#2C3266 #662C4F #66602C #2C6643
square
#2C3266 #662C4F #66602C #2C6643
split-complementary
#2C3266 #66432C #4F662C
monochromatic
#090A15 #1A1D3B #2C3266 #3E4791 #5660B6

Accessibility & contrast

On white

11.96
#2C3266 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#2C3266 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3266
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3266#FFFFFF#000000##FFFFFF
##2C32661.0011.961.7611.96
#FFFFFF11.961.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3968
Deuteranopia (green-blind)
#133465
Tritanopia (blue-blind)
#113D47
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2c3266;
/* rgb */ color: rgb(44, 50, 102);
/* oklch */ color: oklch(34.1% 0.090 275.6);
Tailwind
colors: {
  custom: {
    50: '#6a6992',
    500: '#2c3266',
    950: '#000000',
  },
}
SCSS
$custom: #2c3266;
$custom-light: #6a6992;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3266",
  "rgb": {
    "r": 44,
    "g": 50,
    "b": 102
  },
  "hsl": {
    "h": 233.793,
    "s": 39.726,
    "l": 28.627
  },
  "oklch": {
    "l": 0.3409,
    "c": 0.09028,
    "h": 275.6
  },
  "luminance": 0.03776
}

Semantic roles & 50–950 ramp

primary
#2C3266
secondary
#989156
accent
#C358D0
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #2C3266

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

Preview Lab → · Contrast checker → · Palette generator →

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