#2C3089#2C3089

#2C3089 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.6% C 0.145 H 274.6°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#2C3089
RGBrgb(44, 48, 137)
HSLhsl(237, 51%, 35%)
HSVhsv(237, 68%, 54%)
CMYKcmyk(67.9%, 65%, 0%, 46.3%)
CIE-LABlab(25.12, 28.36, -50.20)
CIE-LCHlch(25.12, 57.66, 299.46°)
OKLaboklab(36.6% 0.0117 -0.1448)
OKLCHoklch(36.6% 0.145 274.6)
XYZxyz(6.6095, 4.4549, 24.1736)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3089 #89852C
analogous
#2C5F89 #2C3089 #562C89
triadic
#2C3089 #892C30 #30892C
tetradic
#2C3089 #892C5F #89852C #2C8956
square
#2C3089 #892C5F #89852C #2C8956
split-complementary
#2C3089 #89562C #5F892C
monochromatic
#0E102C #1D205B #2C3089 #3B40B7 #6367CD

Accessibility & contrast

On white

11.10
#2C3089 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2C3089 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3089
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3089#FFFFFF#000000##FFFFFF
##2C30891.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408C
Deuteranopia (green-blind)
#003787
Tritanopia (blue-blind)
#004758
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2c3089;
/* rgb */ color: rgb(44, 48, 137);
/* oklch */ color: oklch(36.6% 0.145 274.6);
Tailwind
colors: {
  custom: {
    50: '#7168ac',
    500: '#2c3089',
    950: '#000000',
  },
}
SCSS
$custom: #2c3089;
$custom-light: #7168ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3089",
  "rgb": {
    "r": 44,
    "g": 48,
    "b": 137
  },
  "hsl": {
    "h": 237.419,
    "s": 51.381,
    "l": 35.49
  },
  "oklch": {
    "l": 0.36602,
    "c": 0.14526,
    "h": 274.6
  },
  "luminance": 0.04456
}

Semantic roles & 50–950 ramp

primary
#2C3089
secondary
#B3AF5E
accent
#D54DDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2C3089

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

Preview Lab → · Contrast checker → · Palette generator →

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