#2C4697#2C4697

#2C4697 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.2% C 0.136 H 267.0°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#2C4697
RGBrgb(44, 70, 151)
HSLhsl(225, 55%, 38%)
HSVhsv(225, 71%, 59%)
CMYKcmyk(70.9%, 53.6%, 0%, 40.8%)
CIE-LABlab(32.14, 18.79, -47.41)
CIE-LCHlch(32.14, 50.99, 291.62°)
OKLaboklab(42.19% -0.0072 -0.1363)
OKLCHoklch(42.19% 0.136 267)
XYZxyz(8.8128, 7.1493, 30.1877)
Luminance0.0715 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4697 #977D2C
analogous
#2C7B97 #2C4697 #482C97
triadic
#2C4697 #972C46 #46972C
tetradic
#2C4697 #972C7B #977D2C #2C9748
square
#2C4697 #972C7B #977D2C #2C9748
split-complementary
#2C4697 #97482C #7B972C
monochromatic
#101A38 #1E3068 #2C4697 #3A5CC6 #6A84D4

Accessibility & contrast

On white

8.64
#2C4697 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#2C4697 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4697
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4697#FFFFFF#000000##FFFFFF
##2C46971.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F519A
Deuteranopia (green-blind)
#004795
Tritanopia (blue-blind)
#005967
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2c4697;
/* rgb */ color: rgb(44, 70, 151);
/* oklch */ color: oklch(42.2% 0.136 267.0);
Tailwind
colors: {
  custom: {
    50: '#7379b6',
    500: '#2c4697',
    950: '#000000',
  },
}
SCSS
$custom: #2c4697;
$custom-light: #7379b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4697",
  "rgb": {
    "r": 44,
    "g": 70,
    "b": 151
  },
  "hsl": {
    "h": 225.421,
    "s": 54.872,
    "l": 38.235
  },
  "oklch": {
    "l": 0.4219,
    "c": 0.13647,
    "h": 267
  },
  "luminance": 0.0715
}

Semantic roles & 50–950 ramp

primary
#2C4697
secondary
#BAA565
accent
#BA4ADE
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2C4697

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

Preview Lab → · Contrast checker → · Palette generator →

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