#2C3FAB#2C3FAB

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

Color values

HEX#2C3FAB
RGBrgb(44, 63, 171)
HSLhsl(231, 59%, 42%)
HSVhsv(231, 74%, 67%)
CMYKcmyk(74.3%, 63.2%, 0%, 32.9%)
CIE-LABlab(31.87, 30.97, -59.91)
CIE-LCHlch(31.87, 67.44, 297.34°)
OKLaboklab(42.49% -0.0011 -0.1731)
OKLCHoklch(42.49% 0.173 269.6)
XYZxyz(10.1644, 7.0297, 39.3414)
Luminance0.0703 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3FAB #AB982C
analogous
#2C7EAB #2C3FAB #592CAB
triadic
#2C3FAB #AB2C3F #3FAB2C
tetradic
#2C3FAB #AB2C7E #AB982C #2CAB59
square
#2C3FAB #AB2C7E #AB982C #2CAB59
split-complementary
#2C3FAB #AB592C #7EAB2C
monochromatic
#131B4A #1F2D7A #2C3FAB #455ACF #7685DC

Accessibility & contrast

On white

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

On black

2.41
#2C3FAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2C3FAB#FFFFFF#000000##FFFFFF
##2C3FAB1.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AE
Deuteranopia (green-blind)
#0045A9
Tritanopia (blue-blind)
#005B6F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2c3fab;
/* rgb */ color: rgb(44, 63, 171);
/* oklch */ color: oklch(42.5% 0.173 269.6);
Tailwind
colors: {
  custom: {
    50: '#7874c5',
    500: '#2c3fab',
    950: '#000000',
  },
}
SCSS
$custom: #2c3fab;
$custom-light: #7874c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3fab",
  "rgb": {
    "r": 44,
    "g": 63,
    "b": 171
  },
  "hsl": {
    "h": 231.024,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.42487,
    "c": 0.17311,
    "h": 269.6
  },
  "luminance": 0.07031
}

Semantic roles & 50–950 ramp

primary
#2C3FAB
secondary
#C3B76F
accent
#CB46E2
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2C3FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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