#2C3D9F#2C3D9F

#2C3D9F is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.0% C 0.159 H 270.2°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#2C3D9F
RGBrgb(44, 61, 159)
HSLhsl(231, 57%, 40%)
HSVhsv(231, 72%, 62%)
CMYKcmyk(72.3%, 61.6%, 0%, 37.6%)
CIE-LABlab(30.34, 27.84, -55.19)
CIE-LCHlch(30.34, 61.82, 296.77°)
OKLaboklab(41.04% 0.0006 -0.1593)
OKLCHoklch(41.04% 0.159 270.2)
XYZxyz(8.9633, 6.3753, 33.5523)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3D9F #9F8E2C
analogous
#2C779F #2C3D9F #542C9F
triadic
#2C3D9F #9F2C3D #3D9F2C
tetradic
#2C3D9F #9F2C77 #9F8E2C #2C9F54
square
#2C3D9F #9F2C77 #9F8E2C #2C9F54
split-complementary
#2C3D9F #9F542C #779F2C
monochromatic
#11183F #1F2B6F #2C3D9F #3E53CA #6E7ED7

Accessibility & contrast

On white

9.23
#2C3D9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#2C3D9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3D9F
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3D9F#FFFFFF#000000##FFFFFF
##2C3D9F1.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c3d9f;
/* rgb */ color: rgb(44, 61, 159);
/* oklch */ color: oklch(41.0% 0.159 270.2);
Tailwind
colors: {
  custom: {
    50: '#7572bc',
    500: '#2c3d9f',
    950: '#000000',
  },
}
SCSS
$custom: #2c3d9f;
$custom-light: #7572bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3d9f",
  "rgb": {
    "r": 44,
    "g": 61,
    "b": 159
  },
  "hsl": {
    "h": 231.13,
    "s": 56.65,
    "l": 39.804
  },
  "oklch": {
    "l": 0.41036,
    "c": 0.1593,
    "h": 270.2
  },
  "luminance": 0.06376
}

Semantic roles & 50–950 ramp

primary
#2C3D9F
secondary
#BEB169
accent
#C948E0
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2C3D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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