#2C307D#2C307D

#2C307D is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.5% C 0.128 H 275.5°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#2C307D
RGBrgb(44, 48, 125)
HSLhsl(237, 48%, 33%)
HSVhsv(237, 65%, 49%)
CMYKcmyk(64.8%, 61.6%, 0%, 51%)
CIE-LABlab(24.10, 23.98, -44.35)
CIE-LCHlch(24.10, 50.42, 298.40°)
OKLaboklab(35.53% 0.0123 -0.1276)
OKLCHoklch(35.53% 0.128 275.5)
XYZxyz(5.7961, 4.1296, 19.8897)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C307D #7D792C
analogous
#2C587D #2C307D #502C7D
triadic
#2C307D #7D2C30 #307D2C
tetradic
#2C307D #7D2C58 #7D792C #2C7D50
square
#2C307D #7D2C58 #7D792C #2C7D50
split-complementary
#2C307D #7D502C #587D2C
monochromatic
#0C0D22 #1C1F50 #2C307D #3C41AA #5D62C6

Accessibility & contrast

On white

11.50
#2C307D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#2C307D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C307D
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C307D#FFFFFF#000000##FFFFFF
##2C307D1.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D80
Deuteranopia (green-blind)
#00367B
Tritanopia (blue-blind)
#004351
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2c307d;
/* rgb */ color: rgb(44, 48, 125);
/* oklch */ color: oklch(35.5% 0.128 275.5);
Tailwind
colors: {
  custom: {
    50: '#6f68a3',
    500: '#2c307d',
    950: '#000000',
  },
}
SCSS
$custom: #2c307d;
$custom-light: #6f68a3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c307d",
  "rgb": {
    "r": 44,
    "g": 48,
    "b": 125
  },
  "hsl": {
    "h": 237.037,
    "s": 47.929,
    "l": 33.137
  },
  "oklch": {
    "l": 0.35526,
    "c": 0.12818,
    "h": 275.5
  },
  "luminance": 0.0413
}

Semantic roles & 50–950 ramp

primary
#2C307D
secondary
#ACA859
accent
#D150D8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2C307D

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

Preview Lab → · Contrast checker → · Palette generator →

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