#2C4088#2C4088

#2C4088 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.7% C 0.123 H 268.6°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#2C4088
RGBrgb(44, 64, 136)
HSLhsl(227, 51%, 35%)
HSVhsv(227, 68%, 53%)
CMYKcmyk(67.6%, 52.9%, 0%, 46.7%)
CIE-LABlab(29.36, 17.16, -42.70)
CIE-LCHlch(29.36, 46.02, 291.89°)
OKLaboklab(39.74% -0.003 -0.1225)
OKLCHoklch(39.74% 0.123 268.6)
XYZxyz(7.3145, 5.9792, 24.0564)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4088 #88742C
analogous
#2C6E88 #2C4088 #462C88
triadic
#2C4088 #882C40 #40882C
tetradic
#2C4088 #882C6E #88742C #2C8846
square
#2C4088 #882C6E #88742C #2C8846
split-complementary
#2C4088 #88462C #6E882C
monochromatic
#0E142C #1D2A5A #2C4088 #3B56B6 #6279CC

Accessibility & contrast

On white

9.56
#2C4088 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C4088
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4088#FFFFFF#000000##FFFFFF
##2C40881.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154A8B
Deuteranopia (green-blind)
#004187
Tritanopia (blue-blind)
#00515D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2c4088;
/* rgb */ color: rgb(44, 64, 136);
/* oklch */ color: oklch(39.7% 0.123 268.6);
Tailwind
colors: {
  custom: {
    50: '#7074ab',
    500: '#2c4088',
    950: '#000000',
  },
}
SCSS
$custom: #2c4088;
$custom-light: #7074ab;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4088",
  "rgb": {
    "r": 44,
    "g": 64,
    "b": 136
  },
  "hsl": {
    "h": 226.957,
    "s": 51.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.39736,
    "c": 0.12257,
    "h": 268.6
  },
  "luminance": 0.0598
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C4088

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

Preview Lab → · Contrast checker → · Palette generator →

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