#2C439E#2C439E

#2C439E is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.1% C 0.150 H 268.4°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#2C439E
RGBrgb(44, 67, 158)
HSLhsl(228, 56%, 40%)
HSVhsv(228, 72%, 62%)
CMYKcmyk(72.2%, 57.6%, 0%, 38%)
CIE-LABlab(31.85, 23.46, -52.13)
CIE-LCHlch(31.85, 57.17, 294.23°)
OKLaboklab(42.13% -0.0042 -0.1502)
OKLCHoklch(42.13% 0.15 268.4)
XYZxyz(9.2153, 7.0175, 33.2100)
Luminance0.0702 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C439E #9E872C
analogous
#2C7C9E #2C439E #4E2C9E
triadic
#2C439E #9E2C43 #439E2C
tetradic
#2C439E #9E2C7C #9E872C #2C9E4E
square
#2C439E #9E2C7C #9E872C #2C9E4E
split-complementary
#2C439E #9E4E2C #7C9E2C
monochromatic
#111A3E #1F2F6E #2C439E #3E5AC9 #6E83D7

Accessibility & contrast

On white

8.74
#2C439E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#2C439E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C439E
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C439E#FFFFFF#000000##FFFFFF
##2C439E1.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A1
Deuteranopia (green-blind)
#00469C
Tritanopia (blue-blind)
#00596A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2c439e;
/* rgb */ color: rgb(44, 67, 158);
/* oklch */ color: oklch(42.1% 0.150 268.4);
Tailwind
colors: {
  custom: {
    50: '#7576bb',
    500: '#2c439e',
    950: '#000000',
  },
}
SCSS
$custom: #2c439e;
$custom-light: #7576bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2c439e",
  "rgb": {
    "r": 44,
    "g": 67,
    "b": 158
  },
  "hsl": {
    "h": 227.895,
    "s": 56.436,
    "l": 39.608
  },
  "oklch": {
    "l": 0.42133,
    "c": 0.1503,
    "h": 268.4
  },
  "luminance": 0.07018
}

Semantic roles & 50–950 ramp

primary
#2C439E
secondary
#BEAC68
accent
#C148E0
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2C439E

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

Preview Lab → · Contrast checker → · Palette generator →

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