#2C307A#2C307A

#2C307A is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.3% C 0.124 H 275.7°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#2C307A
RGBrgb(44, 48, 122)
HSLhsl(237, 47%, 33%)
HSVhsv(237, 64%, 48%)
CMYKcmyk(63.9%, 60.7%, 0%, 52.2%)
CIE-LABlab(23.85, 22.88, -42.85)
CIE-LCHlch(23.85, 48.58, 298.10°)
OKLaboklab(35.27% 0.0123 -0.1232)
OKLCHoklch(35.27% 0.124 275.7)
XYZxyz(5.6074, 4.0541, 18.8956)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C307A #7A762C
analogous
#2C577A #2C307A #4F2C7A
triadic
#2C307A #7A2C30 #307A2C
tetradic
#2C307A #7A2C57 #7A762C #2C7A4F
square
#2C307A #7A2C57 #7A762C #2C7A4F
split-complementary
#2C307A #7A4F2C #577A2C
monochromatic
#0C0D20 #1C1E4D #2C307A #3C42A7 #5C61C4

Accessibility & contrast

On white

11.60
#2C307A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#2C307A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C307A
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C307A#FFFFFF#000000##FFFFFF
##2C307A1.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7C
Deuteranopia (green-blind)
#003579
Tritanopia (blue-blind)
#004250
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2c307a;
/* rgb */ color: rgb(44, 48, 122);
/* oklch */ color: oklch(35.3% 0.124 275.7);
Tailwind
colors: {
  custom: {
    50: '#6e68a1',
    500: '#2c307a',
    950: '#000000',
  },
}
SCSS
$custom: #2c307a;
$custom-light: #6e68a1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c307a",
  "rgb": {
    "r": 44,
    "g": 48,
    "b": 122
  },
  "hsl": {
    "h": 236.923,
    "s": 46.988,
    "l": 32.549
  },
  "oklch": {
    "l": 0.35266,
    "c": 0.12379,
    "h": 275.7
  },
  "luminance": 0.04055
}

Semantic roles & 50–950 ramp

primary
#2C307A
secondary
#AAA657
accent
#D051D7
background
#F7F6FA
surface
#EDEBF3
border
#C8C6CD
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2C307A

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

Preview Lab → · Contrast checker → · Palette generator →

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