#2C4F94#2C4F94

#2C4F94 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 43.9% C 0.121 H 262.3°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#2C4F94
RGBrgb(44, 79, 148)
HSLhsl(220, 54%, 38%)
HSVhsv(220, 70%, 58%)
CMYKcmyk(70.3%, 46.6%, 0%, 42%)
CIE-LABlab(34.53, 11.60, -41.74)
CIE-LCHlch(34.53, 43.32, 285.53°)
OKLaboklab(43.94% -0.0161 -0.1195)
OKLCHoklch(43.94% 0.121 262.3)
XYZxyz(9.1781, 8.2646, 29.1228)
Luminance0.0827 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4F94 #94712C
analogous
#2C8394 #2C4F94 #3D2C94
triadic
#2C4F94 #942C4F #4F942C
tetradic
#2C4F94 #942C83 #94712C #2C943D
square
#2C4F94 #942C83 #94712C #2C943D
split-complementary
#2C4F94 #943D2C #83942C
monochromatic
#101D36 #1E3665 #2C4F94 #3A68C3 #688CD2

Accessibility & contrast

On white

7.91
#2C4F94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C4F94
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4F94#FFFFFF#000000##FFFFFF
##2C4F941.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5697
Deuteranopia (green-blind)
#184D93
Tritanopia (blue-blind)
#005F6A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2c4f94;
/* rgb */ color: rgb(44, 79, 148);
/* oklch */ color: oklch(43.9% 0.121 262.3);
Tailwind
colors: {
  custom: {
    50: '#727fb4',
    500: '#2c4f94',
    950: '#000000',
  },
}
SCSS
$custom: #2c4f94;
$custom-light: #727fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4f94",
  "rgb": {
    "r": 44,
    "g": 79,
    "b": 148
  },
  "hsl": {
    "h": 219.808,
    "s": 54.167,
    "l": 37.647
  },
  "oklch": {
    "l": 0.43942,
    "c": 0.12056,
    "h": 262.3
  },
  "luminance": 0.08266
}

Semantic roles & 50–950 ramp

primary
#2C4F94
secondary
#B99C63
accent
#AC4ADE
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2C4F94

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

Preview Lab → · Contrast checker → · Palette generator →

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