#2C3A89#2C3A89

#2C3A89 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.6% C 0.132 H 271.2°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#2C3A89
RGBrgb(44, 58, 137)
HSLhsl(231, 51%, 35%)
HSVhsv(231, 68%, 54%)
CMYKcmyk(67.9%, 57.7%, 0%, 46.3%)
CIE-LABlab(27.76, 21.63, -45.92)
CIE-LCHlch(27.76, 50.76, 295.23°)
OKLaboklab(38.55% 0.0029 -0.1321)
OKLCHoklch(38.55% 0.132 271.2)
XYZxyz(7.0656, 5.3671, 24.3257)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3A89 #897B2C
analogous
#2C6889 #2C3A89 #4D2C89
triadic
#2C3A89 #892C3A #3A892C
tetradic
#2C3A89 #892C68 #897B2C #2C894D
square
#2C3A89 #892C68 #897B2C #2C894D
split-complementary
#2C3A89 #894D2C #68892C
monochromatic
#0E132C #1D265B #2C3A89 #3B4EB7 #6373CD

Accessibility & contrast

On white

10.13
#2C3A89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#2C3A89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3A89
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3A89#FFFFFF#000000##FFFFFF
##2C3A891.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468C
Deuteranopia (green-blind)
#003D87
Tritanopia (blue-blind)
#004D5B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2c3a89;
/* rgb */ color: rgb(44, 58, 137);
/* oklch */ color: oklch(38.6% 0.132 271.2);
Tailwind
colors: {
  custom: {
    50: '#716fac',
    500: '#2c3a89',
    950: '#000000',
  },
}
SCSS
$custom: #2c3a89;
$custom-light: #716fac;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3a89",
  "rgb": {
    "r": 44,
    "g": 58,
    "b": 137
  },
  "hsl": {
    "h": 230.968,
    "s": 51.381,
    "l": 35.49
  },
  "oklch": {
    "l": 0.38553,
    "c": 0.13211,
    "h": 271.2
  },
  "luminance": 0.05368
}

Semantic roles & 50–950 ramp

primary
#2C3A89
secondary
#B3A65E
accent
#C54DDB
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2C3A89

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

Preview Lab → · Contrast checker → · Palette generator →

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