#2C307C#2C307C

#2C307C is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.4% C 0.127 H 275.6°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#2C307C
RGBrgb(44, 48, 124)
HSLhsl(237, 48%, 33%)
HSVhsv(237, 65%, 49%)
CMYKcmyk(64.5%, 61.3%, 0%, 51.4%)
CIE-LABlab(24.01, 23.61, -43.85)
CIE-LCHlch(24.01, 49.81, 298.30°)
OKLaboklab(35.44% 0.0123 -0.1261)
OKLCHoklch(35.44% 0.127 275.6)
XYZxyz(5.7326, 4.1042, 19.5550)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C307C #7C782C
analogous
#2C587C #2C307C #502C7C
triadic
#2C307C #7C2C30 #307C2C
tetradic
#2C307C #7C2C58 #7C782C #2C7C50
square
#2C307C #7C2C58 #7C782C #2C7C50
split-complementary
#2C307C #7C502C #587C2C
monochromatic
#0C0D22 #1C1F4F #2C307C #3C41A9 #5D62C5

Accessibility & contrast

On white

11.53
#2C307C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#2C307C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C307C
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C307C#FFFFFF#000000##FFFFFF
##2C307C1.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7F
Deuteranopia (green-blind)
#00367A
Tritanopia (blue-blind)
#004251
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2c307c;
/* rgb */ color: rgb(44, 48, 124);
/* oklch */ color: oklch(35.4% 0.127 275.6);
Tailwind
colors: {
  custom: {
    50: '#6f68a3',
    500: '#2c307c',
    950: '#000000',
  },
}
SCSS
$custom: #2c307c;
$custom-light: #6f68a3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c307c",
  "rgb": {
    "r": 44,
    "g": 48,
    "b": 124
  },
  "hsl": {
    "h": 237,
    "s": 47.619,
    "l": 32.941
  },
  "oklch": {
    "l": 0.35439,
    "c": 0.12671,
    "h": 275.6
  },
  "luminance": 0.04105
}

Semantic roles & 50–950 ramp

primary
#2C307C
secondary
#ACA758
accent
#D051D7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2C307C

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

Preview Lab → · Contrast checker → · Palette generator →

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