#2C439F#2C439F

#2C439F is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.2% C 0.152 H 268.4°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#2C439F
RGBrgb(44, 67, 159)
HSLhsl(228, 57%, 40%)
HSVhsv(228, 72%, 62%)
CMYKcmyk(72.3%, 57.9%, 0%, 37.6%)
CIE-LABlab(31.93, 23.84, -52.61)
CIE-LCHlch(31.93, 57.76, 294.38°)
OKLaboklab(42.22% -0.0041 -0.1516)
OKLCHoklch(42.22% 0.152 268.4)
XYZxyz(9.3017, 7.0520, 33.6651)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C439F #9F882C
analogous
#2C7D9F #2C439F #4F2C9F
triadic
#2C439F #9F2C43 #439F2C
tetradic
#2C439F #9F2C7D #9F882C #2C9F4F
square
#2C439F #9F2C7D #9F882C #2C9F4F
split-complementary
#2C439F #9F4F2C #7D9F2C
monochromatic
#111B3F #1F2F6F #2C439F #3E5ACA #6E83D7

Accessibility & contrast

On white

8.71
#2C439F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#2C439F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C439F
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C439F#FFFFFF#000000##FFFFFF
##2C439F1.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A2
Deuteranopia (green-blind)
#00469D
Tritanopia (blue-blind)
#005A6A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2c439f;
/* rgb */ color: rgb(44, 67, 159);
/* oklch */ color: oklch(42.2% 0.152 268.4);
Tailwind
colors: {
  custom: {
    50: '#7576bc',
    500: '#2c439f',
    950: '#000000',
  },
}
SCSS
$custom: #2c439f;
$custom-light: #7576bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2c439f",
  "rgb": {
    "r": 44,
    "g": 67,
    "b": 159
  },
  "hsl": {
    "h": 228,
    "s": 56.65,
    "l": 39.804
  },
  "oklch": {
    "l": 0.42216,
    "c": 0.1517,
    "h": 268.4
  },
  "luminance": 0.07053
}

Semantic roles & 50–950 ramp

primary
#2C439F
secondary
#BEAD69
accent
#C248E0
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2C439F

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

Preview Lab → · Contrast checker → · Palette generator →

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