#2C46AF#2C46AF

#2C46AF is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.2% C 0.170 H 268.0°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#2C46AF
RGBrgb(44, 70, 175)
HSLhsl(228, 60%, 43%)
HSVhsv(228, 75%, 69%)
CMYKcmyk(74.9%, 60%, 0%, 31.4%)
CIE-LABlab(34.00, 27.86, -58.82)
CIE-LCHlch(34.00, 65.08, 295.35°)
OKLaboklab(44.17% -0.006 -0.1698)
OKLCHoklch(44.17% 0.17 268)
XYZxyz(10.9640, 8.0098, 41.5173)
Luminance0.0801 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C46AF #AF952C
analogous
#2C87AF #2C46AF #542CAF
triadic
#2C46AF #AF2C46 #46AF2C
tetradic
#2C46AF #AF2C87 #AF952C #2CAF54
square
#2C46AF #AF2C87 #AF952C #2CAF54
split-complementary
#2C46AF #AF542C #87AF2C
monochromatic
#131F4D #20327E #2C46AF #4763D1 #788CDD

Accessibility & contrast

On white

8.07
#2C46AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#2C46AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C46AF
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C46AF#FFFFFF#000000##FFFFFF
##2C46AF1.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B2
Deuteranopia (green-blind)
#004AAD
Tritanopia (blue-blind)
#006173
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2c46af;
/* rgb */ color: rgb(44, 70, 175);
/* oklch */ color: oklch(44.2% 0.170 268.0);
Tailwind
colors: {
  custom: {
    50: '#7879c8',
    500: '#2c46af',
    950: '#000000',
  },
}
SCSS
$custom: #2c46af;
$custom-light: #7879c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c46af",
  "rgb": {
    "r": 44,
    "g": 70,
    "b": 175
  },
  "hsl": {
    "h": 228.092,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.4417,
    "c": 0.16994,
    "h": 268
  },
  "luminance": 0.08011
}

Semantic roles & 50–950 ramp

primary
#2C46AF
secondary
#C5B572
accent
#C445E3
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2C46AF

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

Preview Lab → · Contrast checker → · Palette generator →

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