#2C3F6A#2C3F6A

#2C3F6A is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.4% C 0.078 H 264.9°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#2C3F6A
RGBrgb(44, 63, 106)
HSLhsl(222, 41%, 29%)
HSVhsv(222, 58%, 42%)
CMYKcmyk(58.5%, 40.6%, 0%, 58.4%)
CIE-LABlab(27.10, 6.62, -27.43)
CIE-LCHlch(27.10, 28.22, 283.57°)
OKLaboklab(37.38% -0.007 -0.0777)
OKLCHoklch(37.38% 0.078 264.9)
XYZxyz(5.4169, 5.1307, 14.3377)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3F6A #6A572C
analogous
#2C5E6A #2C3F6A #382C6A
triadic
#2C3F6A #6A2C3F #3F6A2C
tetradic
#2C3F6A #6A2C5E #6A572C #2C6A38
square
#2C3F6A #6A2C5E #6A572C #2C6A38
split-complementary
#2C3F6A #6A382C #5E6A2C
monochromatic
#090D16 #1A253F #2C3F6A #3E5995 #5775B9

Accessibility & contrast

On white

10.36
#2C3F6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#2C3F6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3F6A
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3F6A#FFFFFF#000000##FFFFFF
##2C3F6A1.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D436C
Deuteranopia (green-blind)
#263D69
Tritanopia (blue-blind)
#07484F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2c3f6a;
/* rgb */ color: rgb(44, 63, 106);
/* oklch */ color: oklch(37.4% 0.078 264.9);
Tailwind
colors: {
  custom: {
    50: '#6a7395',
    500: '#2c3f6a',
    950: '#000000',
  },
}
SCSS
$custom: #2c3f6a;
$custom-light: #6a7395;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3f6a",
  "rgb": {
    "r": 44,
    "g": 63,
    "b": 106
  },
  "hsl": {
    "h": 221.613,
    "s": 41.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.37379,
    "c": 0.07803,
    "h": 264.9
  },
  "luminance": 0.05131
}

Semantic roles & 50–950 ramp

primary
#2C3F6A
secondary
#9C8656
accent
#AC57D1
background
#F6F6F9
surface
#EBECF1
border
#C6C7CB
text
#07080D
muted
#7A7B7E

Preview Lab

Preview with #2C3F6A

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

Preview Lab → · Contrast checker → · Palette generator →

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