#2C309A#2C309A

#2C309A is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.2% C 0.168 H 273.5°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#2C309A
RGBrgb(44, 48, 154)
HSLhsl(238, 56%, 39%)
HSVhsv(238, 71%, 60%)
CMYKcmyk(71.4%, 68.8%, 0%, 39.6%)
CIE-LABlab(26.68, 34.47, -58.14)
CIE-LCHlch(26.68, 67.59, 300.67°)
OKLaboklab(38.22% 0.0102 -0.168)
OKLCHoklch(38.22% 0.168 273.5)
XYZxyz(7.9264, 4.9817, 31.1094)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C309A #9A962C
analogous
#2C679A #2C309A #5F2C9A
triadic
#2C309A #9A2C30 #309A2C
tetradic
#2C309A #9A2C67 #9A962C #2C9A5F
square
#2C309A #9A2C67 #9A962C #2C9A5F
split-complementary
#2C309A #9A5F2C #679A2C
monochromatic
#11123B #1E216A #2C309A #3C41C7 #6C6FD5

Accessibility & contrast

On white

10.52
#2C309A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2C309A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C309A
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C309A#FFFFFF#000000##FFFFFF
##2C309A1.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449D
Deuteranopia (green-blind)
#003A98
Tritanopia (blue-blind)
#004C61
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2c309a;
/* rgb */ color: rgb(44, 48, 154);
/* oklch */ color: oklch(38.2% 0.168 273.5);
Tailwind
colors: {
  custom: {
    50: '#7569b9',
    500: '#2c309a',
    950: '#000000',
  },
}
SCSS
$custom: #2c309a;
$custom-light: #7569b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c309a",
  "rgb": {
    "r": 44,
    "g": 48,
    "b": 154
  },
  "hsl": {
    "h": 237.818,
    "s": 55.556,
    "l": 38.824
  },
  "oklch": {
    "l": 0.38218,
    "c": 0.16832,
    "h": 273.5
  },
  "luminance": 0.04982
}

Semantic roles & 50–950 ramp

primary
#2C309A
secondary
#BCB966
accent
#D949DF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2C309A

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

Preview Lab → · Contrast checker → · Palette generator →

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