#2C4089#2C4089

#2C4089 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.8% C 0.124 H 268.7°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#2C4089
RGBrgb(44, 64, 137)
HSLhsl(227, 51%, 35%)
HSVhsv(227, 68%, 54%)
CMYKcmyk(67.9%, 53.3%, 0%, 46.3%)
CIE-LABlab(29.43, 17.54, -43.20)
CIE-LCHlch(29.43, 46.63, 292.10°)
OKLaboklab(39.81% -0.0029 -0.124)
OKLCHoklch(39.81% 0.124 268.7)
XYZxyz(7.3859, 6.0077, 24.4324)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4089 #89752C
analogous
#2C6E89 #2C4089 #472C89
triadic
#2C4089 #892C40 #40892C
tetradic
#2C4089 #892C6E #89752C #2C8947
square
#2C4089 #892C6E #89752C #2C8947
split-complementary
#2C4089 #89472C #6E892C
monochromatic
#0E152C #1D2A5B #2C4089 #3B56B7 #6379CD

Accessibility & contrast

On white

9.54
#2C4089 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#2C4089 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4089
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4089#FFFFFF#000000##FFFFFF
##2C40891.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134A8C
Deuteranopia (green-blind)
#004188
Tritanopia (blue-blind)
#00515E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2c4089;
/* rgb */ color: rgb(44, 64, 137);
/* oklch */ color: oklch(39.8% 0.124 268.7);
Tailwind
colors: {
  custom: {
    50: '#7074ac',
    500: '#2c4089',
    950: '#000000',
  },
}
SCSS
$custom: #2c4089;
$custom-light: #7074ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4089",
  "rgb": {
    "r": 44,
    "g": 64,
    "b": 137
  },
  "hsl": {
    "h": 227.097,
    "s": 51.381,
    "l": 35.49
  },
  "oklch": {
    "l": 0.39814,
    "c": 0.12404,
    "h": 268.7
  },
  "luminance": 0.06008
}

Semantic roles & 50–950 ramp

primary
#2C4089
secondary
#B3A15E
accent
#BC4DDB
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2C4089

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

Preview Lab → · Contrast checker → · Palette generator →

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