#2C326B#2C326B

#2C326B is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.5% C 0.098 H 275.5°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#2C326B
RGBrgb(44, 50, 107)
HSLhsl(234, 42%, 30%)
HSVhsv(234, 59%, 42%)
CMYKcmyk(58.9%, 53.3%, 0%, 58%)
CIE-LABlab(23.26, 15.99, -34.20)
CIE-LCHlch(23.26, 37.76, 295.05°)
OKLaboklab(34.47% 0.0094 -0.0977)
OKLCHoklch(34.47% 0.098 275.5)
XYZxyz(4.8323, 3.8779, 14.4009)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C326B #6B652C
analogous
#2C526B #2C326B #462C6B
triadic
#2C326B #6B2C32 #326B2C
tetradic
#2C326B #6B2C52 #6B652C #2C6B46
square
#2C326B #6B2C52 #6B652C #2C6B46
split-complementary
#2C326B #6B462C #526B2C
monochromatic
#090A16 #1A1E40 #2C326B #3E4696 #5761BA

Accessibility & contrast

On white

11.83
#2C326B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C326B
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C326B#FFFFFF#000000##FFFFFF
##2C326B1.0011.831.7811.83
#FFFFFF11.831.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153A6D
Deuteranopia (green-blind)
#0A356A
Tritanopia (blue-blind)
#0A3F49
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2c326b;
/* rgb */ color: rgb(44, 50, 107);
/* oklch */ color: oklch(34.5% 0.098 275.5);
Tailwind
colors: {
  custom: {
    50: '#6b6996',
    500: '#2c326b',
    950: '#000000',
  },
}
SCSS
$custom: #2c326b;
$custom-light: #6b6996;
$custom-dark: #000000;
JSON
{
  "hex": "#2c326b",
  "rgb": {
    "r": 44,
    "g": 50,
    "b": 107
  },
  "hsl": {
    "h": 234.286,
    "s": 41.722,
    "l": 29.608
  },
  "oklch": {
    "l": 0.34465,
    "c": 0.09817,
    "h": 275.5
  },
  "luminance": 0.03878
}

Semantic roles & 50–950 ramp

primary
#2C326B
secondary
#9D9656
accent
#C656D2
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #2C326B

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

Preview Lab → · Contrast checker → · Palette generator →

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