#2C3C9F#2C3C9F

#2C3C9F is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.8% C 0.161 H 270.5°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#2C3C9F
RGBrgb(44, 60, 159)
HSLhsl(232, 57%, 40%)
HSVhsv(232, 72%, 62%)
CMYKcmyk(72.3%, 62.3%, 0%, 37.6%)
CIE-LABlab(30.08, 28.51, -55.61)
CIE-LCHlch(30.08, 62.49, 297.14°)
OKLaboklab(40.85% 0.0013 -0.1605)
OKLCHoklch(40.85% 0.161 270.5)
XYZxyz(8.9104, 6.2695, 33.5347)
Luminance0.0627 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3C9F #9F8F2C
analogous
#2C769F #2C3C9F #552C9F
triadic
#2C3C9F #9F2C3C #3C9F2C
tetradic
#2C3C9F #9F2C76 #9F8F2C #2C9F55
square
#2C3C9F #9F2C76 #9F8F2C #2C9F55
split-complementary
#2C3C9F #9F552C #769F2C
monochromatic
#11183F #1F2A6F #2C3C9F #3E52CA #6E7DD7

Accessibility & contrast

On white

9.32
#2C3C9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#2C3C9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3C9F
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3C9F#FFFFFF#000000##FFFFFF
##2C3C9F1.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA2
Deuteranopia (green-blind)
#00429D
Tritanopia (blue-blind)
#005567
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2c3c9f;
/* rgb */ color: rgb(44, 60, 159);
/* oklch */ color: oklch(40.8% 0.161 270.5);
Tailwind
colors: {
  custom: {
    50: '#7671bc',
    500: '#2c3c9f',
    950: '#000000',
  },
}
SCSS
$custom: #2c3c9f;
$custom-light: #7671bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3c9f",
  "rgb": {
    "r": 44,
    "g": 60,
    "b": 159
  },
  "hsl": {
    "h": 231.652,
    "s": 56.65,
    "l": 39.804
  },
  "oklch": {
    "l": 0.40845,
    "c": 0.16055,
    "h": 270.5
  },
  "luminance": 0.0627
}

Semantic roles & 50–950 ramp

primary
#2C3C9F
secondary
#BEB269
accent
#CB48E0
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2C3C9F

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

Preview Lab → · Contrast checker → · Palette generator →

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