#2C3AB8#2C3AB8

#2C3AB8 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.8% C 0.196 H 270.3°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#2C3AB8
RGBrgb(44, 58, 184)
HSLhsl(234, 61%, 45%)
HSVhsv(234, 76%, 72%)
CMYKcmyk(76.1%, 68.5%, 0%, 27.8%)
CIE-LABlab(31.85, 38.86, -67.67)
CIE-LCHlch(31.85, 78.04, 299.87°)
OKLaboklab(42.84% 0.0011 -0.1959)
OKLCHoklch(42.84% 0.196 270.3)
XYZxyz(11.2005, 7.0211, 46.1030)
Luminance0.0702 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3AB8 #B8AA2C
analogous
#2C80B8 #2C3AB8 #642CB8
triadic
#2C3AB8 #B82C3A #3AB82C
tetradic
#2C3AB8 #B82C80 #B8AA2C #2CB864
square
#2C3AB8 #B82C80 #B8AA2C #2CB864
split-complementary
#2C3AB8 #B8642C #80B82C
monochromatic
#141B55 #202A87 #2C3AB8 #4D5AD4 #7E88E0

Accessibility & contrast

On white

8.73
#2C3AB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#2C3AB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3AB8
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3AB8#FFFFFF#000000##FFFFFF
##2C3AB81.008.732.408.73
#FFFFFF8.731.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BC
Deuteranopia (green-blind)
#0044B6
Tritanopia (blue-blind)
#005C74
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2c3ab8;
/* rgb */ color: rgb(44, 58, 184);
/* oklch */ color: oklch(42.8% 0.196 270.3);
Tailwind
colors: {
  custom: {
    50: '#7c70ce',
    500: '#2c3ab8',
    950: '#000000',
  },
}
SCSS
$custom: #2c3ab8;
$custom-light: #7c70ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3ab8",
  "rgb": {
    "r": 44,
    "g": 58,
    "b": 184
  },
  "hsl": {
    "h": 234,
    "s": 61.404,
    "l": 44.706
  },
  "oklch": {
    "l": 0.42835,
    "c": 0.19586,
    "h": 270.3
  },
  "luminance": 0.07022
}

Semantic roles & 50–950 ramp

primary
#2C3AB8
secondary
#C9C177
accent
#D443E5
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #2C3AB8

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

Preview Lab → · Contrast checker → · Palette generator →

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