#2C3E7B#2C3E7B

#2C3E7B is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.3% C 0.106 H 268.7°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#2C3E7B
RGBrgb(44, 62, 123)
HSLhsl(226, 47%, 33%)
HSVhsv(226, 64%, 48%)
CMYKcmyk(64.2%, 49.6%, 0%, 51.8%)
CIE-LABlab(27.87, 13.62, -36.99)
CIE-LCHlch(27.87, 39.41, 290.22°)
OKLaboklab(38.32% -0.0025 -0.1057)
OKLCHoklch(38.32% 0.106 268.7)
XYZxyz(6.3353, 5.4102, 19.4455)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3E7B #7B692C
analogous
#2C657B #2C3E7B #412C7B
triadic
#2C3E7B #7B2C3E #3E7B2C
tetradic
#2C3E7B #7B2C65 #7B692C #2C7B41
square
#2C3E7B #7B2C65 #7B692C #2C7B41
split-complementary
#2C3E7B #7B412C #657B2C
monochromatic
#0C1121 #1C274E #2C3E7B #3C55A8 #5D74C5

Accessibility & contrast

On white

10.09
#2C3E7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#2C3E7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3E7B
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3E7B#FFFFFF#000000##FFFFFF
##2C3E7B1.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F467D
Deuteranopia (green-blind)
#113E7A
Tritanopia (blue-blind)
#004C56
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2c3e7b;
/* rgb */ color: rgb(44, 62, 123);
/* oklch */ color: oklch(38.3% 0.106 268.7);
Tailwind
colors: {
  custom: {
    50: '#6d72a2',
    500: '#2c3e7b',
    950: '#000000',
  },
}
SCSS
$custom: #2c3e7b;
$custom-light: #6d72a2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3e7b",
  "rgb": {
    "r": 44,
    "g": 62,
    "b": 123
  },
  "hsl": {
    "h": 226.329,
    "s": 47.305,
    "l": 32.745
  },
  "oklch": {
    "l": 0.38316,
    "c": 0.10578,
    "h": 268.7
  },
  "luminance": 0.05411
}

Semantic roles & 50–950 ramp

primary
#2C3E7B
secondary
#AB9858
accent
#B851D7
background
#F6F6FA
surface
#ECECF3
border
#C7C7CD
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2C3E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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