#2C4E9F#2C4E9F

#2C4E9F is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.5% C 0.138 H 264.4°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#2C4E9F
RGBrgb(44, 78, 159)
HSLhsl(222, 57%, 40%)
HSVhsv(222, 72%, 62%)
CMYKcmyk(72.3%, 50.9%, 0%, 37.6%)
CIE-LABlab(34.98, 16.47, -47.67)
CIE-LCHlch(34.98, 50.43, 289.06°)
OKLaboklab(44.52% -0.0135 -0.1369)
OKLCHoklch(44.52% 0.138 264.4)
XYZxyz(10.0189, 8.4864, 33.9042)
Luminance0.0849 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4E9F #9F7D2C
analogous
#2C879F #2C4E9F #442C9F
triadic
#2C4E9F #9F2C4E #4E9F2C
tetradic
#2C4E9F #9F2C87 #9F7D2C #2C9F44
square
#2C4E9F #9F2C87 #9F7D2C #2C9F44
split-complementary
#2C4E9F #9F442C #879F2C
monochromatic
#111F3F #1F366F #2C4E9F #3E68CA #6E8DD7

Accessibility & contrast

On white

7.79
#2C4E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#2C4E9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4E9F
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4E9F#FFFFFF#000000##FFFFFF
##2C4E9F1.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E58A2
Deuteranopia (green-blind)
#004D9D
Tritanopia (blue-blind)
#00616F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2c4e9f;
/* rgb */ color: rgb(44, 78, 159);
/* oklch */ color: oklch(44.5% 0.138 264.4);
Tailwind
colors: {
  custom: {
    50: '#747fbc',
    500: '#2c4e9f',
    950: '#000000',
  },
}
SCSS
$custom: #2c4e9f;
$custom-light: #747fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4e9f",
  "rgb": {
    "r": 44,
    "g": 78,
    "b": 159
  },
  "hsl": {
    "h": 222.261,
    "s": 56.65,
    "l": 39.804
  },
  "oklch": {
    "l": 0.44521,
    "c": 0.13759,
    "h": 264.4
  },
  "luminance": 0.08487
}

Semantic roles & 50–950 ramp

primary
#2C4E9F
secondary
#BEA569
accent
#B348E0
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2C4E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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