#2C304E#2C304E

#2C304E is a dark, muted blue. Relative luminance 0.032; OKLCH L 32.0% C 0.054 H 277.1°. Best body text is #FFFFFF at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#2C304E
RGBrgb(44, 48, 78)
HSLhsl(233, 28%, 24%)
HSVhsv(233, 44%, 31%)
CMYKcmyk(43.6%, 38.5%, 0%, 69.4%)
CIE-LABlab(20.82, 7.15, -19.00)
CIE-LCHlch(20.82, 20.30, 290.61°)
OKLaboklab(32.01% 0.0067 -0.0533)
OKLCHoklch(32.01% 0.054 277.1)
XYZxyz(3.4704, 3.1993, 7.6409)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C304E #4E4A2C
analogous
#2C414E #2C304E #392C4E
triadic
#2C304E #4E2C30 #304E2C
tetradic
#2C304E #4E2C41 #4E4A2C #2C4E39
square
#2C304E #4E2C41 #4E4A2C #2C4E39
split-complementary
#2C304E #4E392C #414E2C
monochromatic
#0B0C14 #161827 #2C304E #424875 #58609C

Accessibility & contrast

On white

12.81
#2C304E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#2C304E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C304E
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C304E#FFFFFF#000000##FFFFFF
##2C304E1.0012.811.6412.81
#FFFFFF12.811.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26334F
Deuteranopia (green-blind)
#24314D
Tritanopia (blue-blind)
#22363B
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2c304e;
/* rgb */ color: rgb(44, 48, 78);
/* oklch */ color: oklch(32.0% 0.054 277.1);
Tailwind
colors: {
  custom: {
    50: '#67687f',
    500: '#2c304e',
    950: '#000000',
  },
}
SCSS
$custom: #2c304e;
$custom-light: #67687f;
$custom-dark: #000000;
JSON
{
  "hex": "#2c304e",
  "rgb": {
    "r": 44,
    "g": 48,
    "b": 78
  },
  "hsl": {
    "h": 232.941,
    "s": 27.869,
    "l": 23.922
  },
  "oklch": {
    "l": 0.32011,
    "c": 0.05367,
    "h": 277.1
  },
  "luminance": 0.03199
}

Semantic roles & 50–950 ramp

primary
#2C304E
secondary
#807B56
accent
#B964C4
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#06060A
muted
#7A7A7C

Preview Lab

Preview with #2C304E

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

Preview Lab → · Contrast checker → · Palette generator →

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