#2C3D7B#2C3D7B

#2C3D7B is a dark, moderate blue. Relative luminance 0.053; OKLCH L 38.1% C 0.107 H 269.3°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#2C3D7B
RGBrgb(44, 61, 123)
HSLhsl(227, 47%, 33%)
HSVhsv(227, 64%, 48%)
CMYKcmyk(64.2%, 50.4%, 0%, 51.8%)
CIE-LABlab(27.58, 14.31, -37.46)
CIE-LCHlch(27.58, 40.10, 290.91°)
OKLaboklab(38.09% -0.0014 -0.1071)
OKLCHoklch(38.09% 0.107 269.3)
XYZxyz(6.2814, 5.3025, 19.4275)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3D7B #7B6A2C
analogous
#2C647B #2C3D7B #432C7B
triadic
#2C3D7B #7B2C3D #3D7B2C
tetradic
#2C3D7B #7B2C64 #7B6A2C #2C7B43
square
#2C3D7B #7B2C64 #7B6A2C #2C7B43
split-complementary
#2C3D7B #7B432C #647B2C
monochromatic
#0C1021 #1C274E #2C3D7B #3C53A8 #5D73C5

Accessibility & contrast

On white

10.19
#2C3D7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2C3D7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3D7B
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3D7B#FFFFFF#000000##FFFFFF
##2C3D7B1.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D457D
Deuteranopia (green-blind)
#0E3E7A
Tritanopia (blue-blind)
#004B56
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2c3d7b;
/* rgb */ color: rgb(44, 61, 123);
/* oklch */ color: oklch(38.1% 0.107 269.3);
Tailwind
colors: {
  custom: {
    50: '#6e72a2',
    500: '#2c3d7b',
    950: '#000000',
  },
}
SCSS
$custom: #2c3d7b;
$custom-light: #6e72a2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3d7b",
  "rgb": {
    "r": 44,
    "g": 61,
    "b": 123
  },
  "hsl": {
    "h": 227.089,
    "s": 47.305,
    "l": 32.745
  },
  "oklch": {
    "l": 0.38093,
    "c": 0.10716,
    "h": 269.3
  },
  "luminance": 0.05303
}

Semantic roles & 50–950 ramp

primary
#2C3D7B
secondary
#AB9958
accent
#BA51D7
background
#F6F6FA
surface
#ECECF3
border
#C7C7CD
text
#08070F
muted
#7A7A7F

Preview Lab

Preview with #2C3D7B

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

Preview Lab → · Contrast checker → · Palette generator →

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