#2C4FA0#2C4FA0

#2C4FA0 is a dark, vivid blue. Relative luminance 0.087; OKLCH L 44.8% C 0.138 H 264.1°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#2C4FA0
RGBrgb(44, 79, 160)
HSLhsl(222, 57%, 40%)
HSVhsv(222, 73%, 63%)
CMYKcmyk(72.5%, 50.6%, 0%, 37.3%)
CIE-LABlab(35.33, 16.18, -47.70)
CIE-LCHlch(35.33, 50.37, 288.74°)
OKLaboklab(44.81% -0.0142 -0.137)
OKLCHoklch(44.81% 0.138 264.1)
XYZxyz(10.1776, 8.6644, 34.3869)
Luminance0.0867 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4FA0 #A07D2C
analogous
#2C89A0 #2C4FA0 #432CA0
triadic
#2C4FA0 #A02C4F #4FA02C
tetradic
#2C4FA0 #A02C89 #A07D2C #2CA043
square
#2C4FA0 #A02C89 #A07D2C #2CA043
split-complementary
#2C4FA0 #A0432C #89A02C
monochromatic
#122040 #1F3770 #2C4FA0 #3F69CA #6F8ED7

Accessibility & contrast

On white

7.68
#2C4FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#2C4FA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4FA0
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4FA0#FFFFFF#000000##FFFFFF
##2C4FA01.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2059A3
Deuteranopia (green-blind)
#004E9E
Tritanopia (blue-blind)
#006270
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2c4fa0;
/* rgb */ color: rgb(44, 79, 160);
/* oklch */ color: oklch(44.8% 0.138 264.1);
Tailwind
colors: {
  custom: {
    50: '#747fbd',
    500: '#2c4fa0',
    950: '#000000',
  },
}
SCSS
$custom: #2c4fa0;
$custom-light: #747fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4fa0",
  "rgb": {
    "r": 44,
    "g": 79,
    "b": 160
  },
  "hsl": {
    "h": 221.897,
    "s": 56.863,
    "l": 40
  },
  "oklch": {
    "l": 0.44813,
    "c": 0.13774,
    "h": 264.1
  },
  "luminance": 0.08666
}

Semantic roles & 50–950 ramp

primary
#2C4FA0
secondary
#BFA569
accent
#B248E0
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2C4FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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