#2C306E#2C306E

#2C306E is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.3% C 0.106 H 276.5°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#2C306E
RGBrgb(44, 48, 110)
HSLhsl(236, 43%, 30%)
HSVhsv(236, 60%, 43%)
CMYKcmyk(60%, 56.4%, 0%, 56.9%)
CIE-LABlab(22.91, 18.48, -36.70)
CIE-LCHlch(22.91, 41.09, 296.73°)
OKLaboklab(34.27% 0.012 -0.1051)
OKLCHoklch(34.27% 0.106 276.5)
XYZxyz(4.9092, 3.7748, 15.2187)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C306E #6E6A2C
analogous
#2C516E #2C306E #492C6E
triadic
#2C306E #6E2C30 #306E2C
tetradic
#2C306E #6E2C51 #6E6A2C #2C6E49
square
#2C306E #6E2C51 #6E6A2C #2C6E49
split-complementary
#2C306E #6E492C #516E2C
monochromatic
#090A17 #1B1D42 #2C306E #3D439A #585EBC

Accessibility & contrast

On white

11.97
#2C306E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C306E
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C306E#FFFFFF#000000##FFFFFF
##2C306E1.0011.971.7611.97
#FFFFFF11.971.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A3970
Deuteranopia (green-blind)
#00346D
Tritanopia (blue-blind)
#053E4A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2c306e;
/* rgb */ color: rgb(44, 48, 110);
/* oklch */ color: oklch(34.3% 0.106 276.5);
Tailwind
colors: {
  custom: {
    50: '#6c6898',
    500: '#2c306e',
    950: '#000000',
  },
}
SCSS
$custom: #2c306e;
$custom-light: #6c6898;
$custom-dark: #000000;
JSON
{
  "hex": "#2c306e",
  "rgb": {
    "r": 44,
    "g": 48,
    "b": 110
  },
  "hsl": {
    "h": 236.364,
    "s": 42.857,
    "l": 30.196
  },
  "oklch": {
    "l": 0.34271,
    "c": 0.10577,
    "h": 276.5
  },
  "luminance": 0.03775
}

Semantic roles & 50–950 ramp

primary
#2C306E
secondary
#A09B56
accent
#CB55D3
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #2C306E

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

Preview Lab → · Contrast checker → · Palette generator →

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