#2C3B89#2C3B89

#2C3B89 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.8% C 0.131 H 270.8°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#2C3B89
RGBrgb(44, 59, 137)
HSLhsl(230, 51%, 35%)
HSVhsv(230, 68%, 54%)
CMYKcmyk(67.9%, 56.9%, 0%, 46.3%)
CIE-LABlab(28.03, 20.95, -45.47)
CIE-LCHlch(28.03, 50.06, 294.74°)
OKLaboklab(38.76% 0.0019 -0.1307)
OKLCHoklch(38.76% 0.131 270.8)
XYZxyz(7.1165, 5.4689, 24.3426)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3B89 #897A2C
analogous
#2C6989 #2C3B89 #4C2C89
triadic
#2C3B89 #892C3B #3B892C
tetradic
#2C3B89 #892C69 #897A2C #2C894C
square
#2C3B89 #892C69 #897A2C #2C894C
split-complementary
#2C3B89 #894C2C #69892C
monochromatic
#0E132C #1D275B #2C3B89 #3B4FB7 #6374CD

Accessibility & contrast

On white

10.03
#2C3B89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2C3B89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3B89
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3B89#FFFFFF#000000##FFFFFF
##2C3B891.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c3b89;
/* rgb */ color: rgb(44, 59, 137);
/* oklch */ color: oklch(38.8% 0.131 270.8);
Tailwind
colors: {
  custom: {
    50: '#7170ac',
    500: '#2c3b89',
    950: '#000000',
  },
}
SCSS
$custom: #2c3b89;
$custom-light: #7170ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3b89",
  "rgb": {
    "r": 44,
    "g": 59,
    "b": 137
  },
  "hsl": {
    "h": 230.323,
    "s": 51.381,
    "l": 35.49
  },
  "oklch": {
    "l": 0.38759,
    "c": 0.13076,
    "h": 270.8
  },
  "luminance": 0.0547
}

Semantic roles & 50–950 ramp

primary
#2C3B89
secondary
#B3A55E
accent
#C44DDB
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2C3B89

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

Preview Lab → · Contrast checker → · Palette generator →

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