#2C3A7B#2C3A7B

#2C3A7B is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.4% C 0.111 H 271.0°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#2C3A7B
RGBrgb(44, 58, 123)
HSLhsl(229, 47%, 33%)
HSVhsv(229, 64%, 48%)
CMYKcmyk(64.2%, 52.8%, 0%, 51.8%)
CIE-LABlab(26.71, 16.37, -38.86)
CIE-LCHlch(26.71, 42.17, 292.85°)
OKLaboklab(37.43% 0.0019 -0.1113)
OKLCHoklch(37.43% 0.111 271)
XYZxyz(6.1257, 4.9911, 19.3756)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3A7B #7B6D2C
analogous
#2C617B #2C3A7B #452C7B
triadic
#2C3A7B #7B2C3A #3A7B2C
tetradic
#2C3A7B #7B2C61 #7B6D2C #2C7B45
square
#2C3A7B #7B2C61 #7B6D2C #2C7B45
split-complementary
#2C3A7B #7B452C #617B2C
monochromatic
#0C0F21 #1C254E #2C3A7B #3C4FA8 #5D6FC5

Accessibility & contrast

On white

10.51
#2C3A7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2C3A7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3A7B
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3A7B#FFFFFF#000000##FFFFFF
##2C3A7B1.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16437D
Deuteranopia (green-blind)
#023C7A
Tritanopia (blue-blind)
#004954
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2c3a7b;
/* rgb */ color: rgb(44, 58, 123);
/* oklch */ color: oklch(37.4% 0.111 271.0);
Tailwind
colors: {
  custom: {
    50: '#6e6fa2',
    500: '#2c3a7b',
    950: '#000000',
  },
}
SCSS
$custom: #2c3a7b;
$custom-light: #6e6fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3a7b",
  "rgb": {
    "r": 44,
    "g": 58,
    "b": 123
  },
  "hsl": {
    "h": 229.367,
    "s": 47.305,
    "l": 32.745
  },
  "oklch": {
    "l": 0.37433,
    "c": 0.11133,
    "h": 271
  },
  "luminance": 0.04992
}

Semantic roles & 50–950 ramp

primary
#2C3A7B
secondary
#AB9C58
accent
#BF51D7
background
#F6F6FA
surface
#ECECF3
border
#C7C7CD
text
#08070F
muted
#7A7A7F

Preview Lab

Preview with #2C3A7B

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

Preview Lab → · Contrast checker → · Palette generator →

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