#2C4289#2C4289

#2C4289 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.2% C 0.121 H 267.7°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#2C4289
RGBrgb(44, 66, 137)
HSLhsl(226, 51%, 35%)
HSVhsv(226, 68%, 54%)
CMYKcmyk(67.9%, 51.8%, 0%, 46.3%)
CIE-LABlab(30.00, 16.18, -42.28)
CIE-LCHlch(30.00, 45.27, 290.93°)
OKLaboklab(40.25% -0.0048 -0.1213)
OKLCHoklch(40.25% 0.121 267.7)
XYZxyz(7.5007, 6.2373, 24.4707)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4289 #89732C
analogous
#2C7089 #2C4289 #442C89
triadic
#2C4289 #892C42 #42892C
tetradic
#2C4289 #892C70 #89732C #2C8944
square
#2C4289 #892C70 #89732C #2C8944
split-complementary
#2C4289 #89442C #70892C
monochromatic
#0E152C #1D2C5B #2C4289 #3B58B7 #637CCD

Accessibility & contrast

On white

9.34
#2C4289 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#2C4289 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4289
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4289#FFFFFF#000000##FFFFFF
##2C42891.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194B8C
Deuteranopia (green-blind)
#004388
Tritanopia (blue-blind)
#00535F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2c4289;
/* rgb */ color: rgb(44, 66, 137);
/* oklch */ color: oklch(40.2% 0.121 267.7);
Tailwind
colors: {
  custom: {
    50: '#7076ac',
    500: '#2c4289',
    950: '#000000',
  },
}
SCSS
$custom: #2c4289;
$custom-light: #7076ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4289",
  "rgb": {
    "r": 44,
    "g": 66,
    "b": 137
  },
  "hsl": {
    "h": 225.806,
    "s": 51.381,
    "l": 35.49
  },
  "oklch": {
    "l": 0.40247,
    "c": 0.12137,
    "h": 267.7
  },
  "luminance": 0.06238
}

Semantic roles & 50–950 ramp

primary
#2C4289
secondary
#B39F5E
accent
#B94DDB
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2C4289

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

Preview Lab → · Contrast checker → · Palette generator →

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