#2C3F89#2C3F89

#2C3F89 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.6% C 0.125 H 269.1°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#2C3F89
RGBrgb(44, 63, 137)
HSLhsl(228, 51%, 35%)
HSVhsv(228, 68%, 54%)
CMYKcmyk(67.9%, 54%, 0%, 46.3%)
CIE-LABlab(29.15, 18.22, -43.66)
CIE-LCHlch(29.15, 47.31, 292.65°)
OKLaboklab(39.6% -0.0019 -0.1254)
OKLCHoklch(39.6% 0.125 269.1)
XYZxyz(7.3300, 5.8959, 24.4138)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3F89 #89762C
analogous
#2C6D89 #2C3F89 #472C89
triadic
#2C3F89 #892C3F #3F892C
tetradic
#2C3F89 #892C6D #89762C #2C8947
square
#2C3F89 #892C6D #89762C #2C8947
split-complementary
#2C3F89 #89472C #6D892C
monochromatic
#0E142C #1D2A5B #2C3F89 #3B54B7 #6378CD

Accessibility & contrast

On white

9.64
#2C3F89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#2C3F89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3F89
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3F89#FFFFFF#000000##FFFFFF
##2C3F891.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F498C
Deuteranopia (green-blind)
#004187
Tritanopia (blue-blind)
#00505D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2c3f89;
/* rgb */ color: rgb(44, 63, 137);
/* oklch */ color: oklch(39.6% 0.125 269.1);
Tailwind
colors: {
  custom: {
    50: '#7073ac',
    500: '#2c3f89',
    950: '#000000',
  },
}
SCSS
$custom: #2c3f89;
$custom-light: #7073ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3f89",
  "rgb": {
    "r": 44,
    "g": 63,
    "b": 137
  },
  "hsl": {
    "h": 227.742,
    "s": 51.381,
    "l": 35.49
  },
  "oklch": {
    "l": 0.396,
    "c": 0.12538,
    "h": 269.1
  },
  "luminance": 0.05897
}

Semantic roles & 50–950 ramp

primary
#2C3F89
secondary
#B3A25E
accent
#BE4DDB
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2C3F89

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

Preview Lab → · Contrast checker → · Palette generator →

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