#2C4F93#2C4F93

#2C4F93 is a dark, moderate blue. Relative luminance 0.082; OKLCH L 43.9% C 0.119 H 262.2°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#2C4F93
RGBrgb(44, 79, 147)
HSLhsl(220, 54%, 37%)
HSVhsv(220, 70%, 58%)
CMYKcmyk(70.1%, 46.3%, 0%, 42.4%)
CIE-LABlab(34.46, 11.22, -41.24)
CIE-LCHlch(34.46, 42.74, 285.21°)
OKLaboklab(43.87% -0.0162 -0.118)
OKLCHoklch(43.87% 0.119 262.2)
XYZxyz(9.0993, 8.2331, 28.7077)
Luminance0.0823 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4F93 #93702C
analogous
#2C8293 #2C4F93 #3D2C93
triadic
#2C4F93 #932C4F #4F932C
tetradic
#2C4F93 #932C82 #93702C #2C933D
square
#2C4F93 #932C82 #93702C #2C933D
split-complementary
#2C4F93 #933D2C #82932C
monochromatic
#101C35 #1E3664 #2C4F93 #3A68C2 #688CD2

Accessibility & contrast

On white

7.93
#2C4F93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#2C4F93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4F93
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4F93#FFFFFF#000000##FFFFFF
##2C4F931.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5696
Deuteranopia (green-blind)
#1A4D92
Tritanopia (blue-blind)
#005F6A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2c4f93;
/* rgb */ color: rgb(44, 79, 147);
/* oklch */ color: oklch(43.9% 0.119 262.2);
Tailwind
colors: {
  custom: {
    50: '#727fb3',
    500: '#2c4f93',
    950: '#000000',
  },
}
SCSS
$custom: #2c4f93;
$custom-light: #727fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4f93",
  "rgb": {
    "r": 44,
    "g": 79,
    "b": 147
  },
  "hsl": {
    "h": 219.612,
    "s": 53.927,
    "l": 37.451
  },
  "oklch": {
    "l": 0.43872,
    "c": 0.1191,
    "h": 262.2
  },
  "luminance": 0.08234
}

Semantic roles & 50–950 ramp

primary
#2C4F93
secondary
#B89B63
accent
#AB4ADD
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2C4F93

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

Preview Lab → · Contrast checker → · Palette generator →

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