#2C306A#2C306A

#2C306A is a dark, moderate blue. Relative luminance 0.037; OKLCH L 34.0% C 0.100 H 276.7°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#2C306A
RGBrgb(44, 48, 106)
HSLhsl(236, 41%, 29%)
HSVhsv(236, 58%, 42%)
CMYKcmyk(58.5%, 54.7%, 0%, 58.4%)
CIE-LABlab(22.62, 17.02, -34.60)
CIE-LCHlch(22.62, 38.56, 296.19°)
OKLaboklab(33.96% 0.0117 -0.0989)
OKLCHoklch(33.96% 0.1 276.7)
XYZxyz(4.6963, 3.6897, 14.0976)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C306A #6A662C
analogous
#2C4F6A #2C306A #472C6A
triadic
#2C306A #6A2C30 #306A2C
tetradic
#2C306A #6A2C4F #6A662C #2C6A47
square
#2C306A #6A2C4F #6A662C #2C6A47
split-complementary
#2C306A #6A472C #4F6A2C
monochromatic
#090A16 #1A1C3F #2C306A #3E4495 #575DB9

Accessibility & contrast

On white

12.08
#2C306A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#2C306A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C306A
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C306A#FFFFFF#000000##FFFFFF
##2C306A1.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11396C
Deuteranopia (green-blind)
#063469
Tritanopia (blue-blind)
#0C3D48
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2c306a;
/* rgb */ color: rgb(44, 48, 106);
/* oklch */ color: oklch(34.0% 0.100 276.7);
Tailwind
colors: {
  custom: {
    50: '#6b6895',
    500: '#2c306a',
    950: '#000000',
  },
}
SCSS
$custom: #2c306a;
$custom-light: #6b6895;
$custom-dark: #000000;
JSON
{
  "hex": "#2c306a",
  "rgb": {
    "r": 44,
    "g": 48,
    "b": 106
  },
  "hsl": {
    "h": 236.129,
    "s": 41.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.33956,
    "c": 0.09959,
    "h": 276.7
  },
  "luminance": 0.0369
}

Semantic roles & 50–950 ramp

primary
#2C306A
secondary
#9C9756
accent
#C957D1
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #2C306A

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

Preview Lab → · Contrast checker → · Palette generator →

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