#2C2367#2C2367

#2C2367 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 31.1% C 0.114 H 283.5°. Best body text is #FFFFFF at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#2C2367
RGBrgb(44, 35, 103)
HSLhsl(248, 49%, 27%)
HSVhsv(248, 66%, 40%)
CMYKcmyk(57.3%, 66%, 0%, 59.6%)
CIE-LABlab(18.87, 24.87, -38.71)
CIE-LCHlch(18.87, 46.01, 302.72°)
OKLaboklab(31.1% 0.0268 -0.1111)
OKLCHoklch(31.1% 0.114 283.5)
XYZxyz(4.0872, 2.7166, 13.1383)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2367 #5E6723
analogous
#233C67 #2C2367 #4E2367
triadic
#2C2367 #672C23 #23672C
tetradic
#2C2367 #67233C #5E6723 #23674E
square
#2C2367 #67233C #5E6723 #23674E
split-complementary
#2C2367 #674E23 #3C6723
monochromatic
#0A0817 #181339 #2C2367 #403395 #5545C0

Accessibility & contrast

On white

13.61
#2C2367 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#2C2367 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2367
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2367#FFFFFF#000000##FFFFFF
##2C23671.0013.611.5413.61
#FFFFFF13.611.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003069
Deuteranopia (green-blind)
#002C66
Tritanopia (blue-blind)
#123341
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2c2367;
/* rgb */ color: rgb(44, 35, 103);
/* oklch */ color: oklch(31.1% 0.114 283.5);
Tailwind
colors: {
  custom: {
    50: '#6c5e93',
    500: '#2c2367',
    950: '#000000',
  },
}
SCSS
$custom: #2c2367;
$custom-light: #6c5e93;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2367",
  "rgb": {
    "r": 44,
    "g": 35,
    "b": 103
  },
  "hsl": {
    "h": 247.941,
    "s": 49.275,
    "l": 27.059
  },
  "oklch": {
    "l": 0.31103,
    "c": 0.11426,
    "h": 283.5
  },
  "luminance": 0.02717
}

Semantic roles & 50–950 ramp

primary
#2C2367
secondary
#909B4B
accent
#D94FC7
background
#F6F5F9
surface
#ECE9F1
border
#C7C5CB
text
#07040D
muted
#7A797E

Preview Lab

Preview with #2C2367

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

Preview Lab → · Contrast checker → · Palette generator →

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