#2C4BA5#2C4BA5

#2C4BA5 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.3% C 0.150 H 266.1°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#2C4BA5
RGBrgb(44, 75, 165)
HSLhsl(225, 58%, 41%)
HSVhsv(225, 73%, 65%)
CMYKcmyk(73.3%, 54.5%, 0%, 35.3%)
CIE-LABlab(34.57, 20.76, -51.93)
CIE-LCHlch(34.57, 55.93, 291.79°)
OKLaboklab(44.35% -0.0103 -0.1495)
OKLCHoklch(44.35% 0.15 266.1)
XYZxyz(10.3439, 8.2831, 36.6437)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4BA5 #A5862C
analogous
#2C87A5 #2C4BA5 #492CA5
triadic
#2C4BA5 #A52C4B #4BA52C
tetradic
#2C4BA5 #A52C87 #A5862C #2CA549
square
#2C4BA5 #A52C87 #A5862C #2CA549
split-complementary
#2C4BA5 #A5492C #87A52C
monochromatic
#121F44 #1F3575 #2C4BA5 #4265CD #728CD9

Accessibility & contrast

On white

7.90
#2C4BA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#2C4BA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4BA5
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4BA5#FFFFFF#000000##FFFFFF
##2C4BA51.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0357A8
Deuteranopia (green-blind)
#004CA3
Tritanopia (blue-blind)
#006170
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2c4ba5;
/* rgb */ color: rgb(44, 75, 165);
/* oklch */ color: oklch(44.3% 0.150 266.1);
Tailwind
colors: {
  custom: {
    50: '#767cc0',
    500: '#2c4ba5',
    950: '#000000',
  },
}
SCSS
$custom: #2c4ba5;
$custom-light: #767cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4ba5",
  "rgb": {
    "r": 44,
    "g": 75,
    "b": 165
  },
  "hsl": {
    "h": 224.628,
    "s": 57.895,
    "l": 40.98
  },
  "oklch": {
    "l": 0.44347,
    "c": 0.14988,
    "h": 266.1
  },
  "luminance": 0.08284
}

Semantic roles & 50–950 ramp

primary
#2C4BA5
secondary
#C1AB6C
accent
#BA47E1
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2C4BA5

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

Preview Lab → · Contrast checker → · Palette generator →

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