#2C4BA9#2C4BA9

#2C4BA9 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.7% C 0.155 H 266.3°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#2C4BA9
RGBrgb(44, 75, 169)
HSLhsl(225, 59%, 42%)
HSVhsv(225, 74%, 66%)
CMYKcmyk(74%, 55.6%, 0%, 33.7%)
CIE-LABlab(34.87, 22.28, -53.84)
CIE-LCHlch(34.87, 58.27, 292.48°)
OKLaboklab(44.67% -0.01 -0.1551)
OKLCHoklch(44.67% 0.155 266.3)
XYZxyz(10.7137, 8.4311, 38.5911)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4BA9 #A98A2C
analogous
#2C8AA9 #2C4BA9 #4C2CA9
triadic
#2C4BA9 #A92C4B #4BA92C
tetradic
#2C4BA9 #A92C8A #A98A2C #2CA94C
square
#2C4BA9 #A92C8A #A98A2C #2CA94C
split-complementary
#2C4BA9 #A94C2C #8AA92C
monochromatic
#132048 #1F3578 #2C4BA9 #4466CE #748EDB

Accessibility & contrast

On white

7.82
#2C4BA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#2C4BA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4BA9
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4BA9#FFFFFF#000000##FFFFFF
##2C4BA91.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AC
Deuteranopia (green-blind)
#004CA7
Tritanopia (blue-blind)
#006272
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2c4ba9;
/* rgb */ color: rgb(44, 75, 169);
/* oklch */ color: oklch(44.7% 0.155 266.3);
Tailwind
colors: {
  custom: {
    50: '#777cc3',
    500: '#2c4ba9',
    950: '#000000',
  },
}
SCSS
$custom: #2c4ba9;
$custom-light: #777cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4ba9",
  "rgb": {
    "r": 44,
    "g": 75,
    "b": 169
  },
  "hsl": {
    "h": 225.12,
    "s": 58.685,
    "l": 41.765
  },
  "oklch": {
    "l": 0.44667,
    "c": 0.15545,
    "h": 266.3
  },
  "luminance": 0.08432
}

Semantic roles & 50–950 ramp

primary
#2C4BA9
secondary
#C3AE6E
accent
#BB46E2
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2C4BA9

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

Preview Lab → · Contrast checker → · Palette generator →

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