#2C309B#2C309B

#2C309B is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.3% C 0.170 H 273.4°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#2C309B
RGBrgb(44, 48, 155)
HSLhsl(238, 56%, 39%)
HSVhsv(238, 72%, 61%)
CMYKcmyk(71.6%, 69%, 0%, 39.2%)
CIE-LABlab(26.78, 34.83, -58.59)
CIE-LCHlch(26.78, 68.16, 300.73°)
OKLaboklab(38.32% 0.0101 -0.1693)
OKLCHoklch(38.32% 0.17 273.4)
XYZxyz(8.0101, 5.0152, 31.5499)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C309B #9B972C
analogous
#2C689B #2C309B #602C9B
triadic
#2C309B #9B2C30 #309B2C
tetradic
#2C309B #9B2C68 #9B972C #2C9B60
square
#2C309B #9B2C68 #9B972C #2C9B60
split-complementary
#2C309B #9B602C #689B2C
monochromatic
#11123C #1E216B #2C309B #3C41C8 #6C70D5

Accessibility & contrast

On white

10.48
#2C309B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C309B
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C309B#FFFFFF#000000##FFFFFF
##2C309B1.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449E
Deuteranopia (green-blind)
#003A99
Tritanopia (blue-blind)
#004D61
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2c309b;
/* rgb */ color: rgb(44, 48, 155);
/* oklch */ color: oklch(38.3% 0.170 273.4);
Tailwind
colors: {
  custom: {
    50: '#7669ba',
    500: '#2c309b',
    950: '#000000',
  },
}
SCSS
$custom: #2c309b;
$custom-light: #7669ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2c309b",
  "rgb": {
    "r": 44,
    "g": 48,
    "b": 155
  },
  "hsl": {
    "h": 237.838,
    "s": 55.779,
    "l": 39.02
  },
  "oklch": {
    "l": 0.38316,
    "c": 0.16964,
    "h": 273.4
  },
  "luminance": 0.05016
}

Semantic roles & 50–950 ramp

primary
#2C309B
secondary
#BCB967
accent
#DA49DF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2C309B

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

Preview Lab → · Contrast checker → · Palette generator →

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