#2C3F85#2C3F85

#2C3F85 is a dark, moderate blue. Relative luminance 0.058; OKLCH L 39.3% C 0.119 H 268.9°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#2C3F85
RGBrgb(44, 63, 133)
HSLhsl(227, 50%, 35%)
HSVhsv(227, 67%, 52%)
CMYKcmyk(66.9%, 52.6%, 0%, 47.8%)
CIE-LABlab(28.86, 16.71, -41.65)
CIE-LCHlch(28.86, 44.87, 291.86°)
OKLaboklab(39.29% -0.0023 -0.1194)
OKLCHoklch(39.29% 0.119 268.9)
XYZxyz(7.0484, 5.7833, 22.9306)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3F85 #85722C
analogous
#2C6C85 #2C3F85 #462C85
triadic
#2C3F85 #852C3F #3F852C
tetradic
#2C3F85 #852C6C #85722C #2C8546
square
#2C3F85 #852C6C #85722C #2C8546
split-complementary
#2C3F85 #85462C #6C852C
monochromatic
#0E1329 #1D2957 #2C3F85 #3B55B3 #6177CB

Accessibility & contrast

On white

9.74
#2C3F85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#2C3F85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3F85
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3F85#FFFFFF#000000##FFFFFF
##2C3F851.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164888
Deuteranopia (green-blind)
#004084
Tritanopia (blue-blind)
#004F5B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2c3f85;
/* rgb */ color: rgb(44, 63, 133);
/* oklch */ color: oklch(39.3% 0.119 268.9);
Tailwind
colors: {
  custom: {
    50: '#6f73a9',
    500: '#2c3f85',
    950: '#000000',
  },
}
SCSS
$custom: #2c3f85;
$custom-light: #6f73a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3f85",
  "rgb": {
    "r": 44,
    "g": 63,
    "b": 133
  },
  "hsl": {
    "h": 227.191,
    "s": 50.282,
    "l": 34.706
  },
  "oklch": {
    "l": 0.39288,
    "c": 0.11947,
    "h": 268.9
  },
  "luminance": 0.05784
}

Semantic roles & 50–950 ramp

primary
#2C3F85
secondary
#B19F5C
accent
#BC4EDA
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2C3F85

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

Preview Lab → · Contrast checker → · Palette generator →

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